Question

1
Replies
531
Views
Srikanth J Member since 2010 21 posts
Pega Systems
Posted: 1 year ago
Last activity: 1 year 10 months ago
Closed

log file path change not working as expected

I am trying to change the location of the pega log files by appending different log file location to save i,e${jboss.server.log.dir} insetead of "${sys:pega.logdir} , but in run time the relative path for "${jboss.server.log.dir}" is not fetching

<RollingRandomAccessFile name="PEGA" fileName="${sys:pega.logdir}/PegaRULES.log" filePattern="${jboss.server.log.dir}/PegaRULES-%d{MM-dd-yyyy}-%i.log.gz">

I noticed a new directory got created with name ${jboss.server.log.dir} and files are saving into that. Please suggest how to save the log file to jboss server log directory instead of pega temp directory.

we are using Pega 7.4 version.

***Edited by Moderator Marissa to update platform capability tags****

System Administration Low-Code App Development Upgrades
Moderation Team has archived post
Share this page LinkedIn