Question
TD
CA
Last activity: 23 Jun 2021 0:19 EDT
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?