Question

3
Replies
36
Views
Abhishek gupta (Abhishekg0292)
TD

TD
CA
Abhishekg0292 Member since 2019 12 posts
TD
Posted: June 11, 2021
Last activity: June 23, 2021
Posted: 11 Jun 2021 18:52 EDT
Last activity: 23 Jun 2021 0:19 EDT
Solved

unable to change Pega log directory

Hi,

In order to customized pega's logging directory i updated

export JAVA_OPTS="$JAVA_OPTS -Dpega.logdir = <My customized path>

as well as updated the same in standalone.conf. But pega still creating log files in its default directory. It is not picking up the path i provided in pega.logdir.

In prlog4j2.xml each log file configured as example below.

<RollingRandomAccessFile  name="PEGA" fileName="${sys:pega.logdir}/PegaRULES.log"

Previously i tried by replacing ${sys:pega.logdir} with <My customized path> in prlog4j2.xml but that didnt work either.

Can you please point what am i missing here?

***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform 8.5.4 Case Management System Administration Technology Services System Architect