I am running pega 8.8.2 on a google kubernetes engine. Now I need to change the default pega logs to a different folder.
I have added a javaoptions like this -Dpega.logdir=/logs/dev. But if I check this folder no logs are getting generated.
I have checked the POD logs where I found this error
Current "user.dir" (default directory) is: /
Current pega.logdir is: /logs/dev
Located PegaRULES logging configuration: file:/usr/local/tomcat/webapps/prweb/WEB-INF/classes/prlog4j2.xml
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
2023-11-22 08:09:33,394 main ERROR Cannot access RandomAccessFile java.io.FileNotFoundException: /logs/dev/PegaRULES.log (Permission denied) java.io.FileNotFoundException:
/logs/dev/PegaRULES.log (Permission denied)
***Edited by Moderator Marije to add Capability tags***
@AzeezS16755384 It seems like a permissions issue. The user running the Pega application might not have write permissions to the /logs/dev directory. Please ensure that the user has the necessary permissions to write to this directory. If the issue persists, you might need to consult with your system administrator or the team managing your Kubernetes environment to ensure the correct permissions are set.
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references