Question
NASCO
US
Last activity: 15 May 2018 15:50 EDT
Log File permission issue for BIX
Hi
When running BIX past the mid night we see below error for log file permission. It is not stopping the process but we are seing the error in the log. Please suggest any resolution.
log4j:ERROR Cannot write to /PegaRULES-FirstLogCreationTime.log
java.io.FileNotFoundException: /PegaRULES-FirstLogCreationTime.log (Permission denied)
at java.io.FileOutputStream.<init>(FileOutputStream.java:233)
at java.io.FileOutputStream.<init>(FileOutputStream.java:183)
at com.pega.pegarules.priv.util.LogDeleteUtil.writeToFile(LogDeleteUtil.java:261)
at com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega.setFile(DailySizeRollingFileAppenderPega.java:120)
at com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega.rollOver(DailySizeRollingFileAppenderPega.java:226)
at com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega.subAppend(DailySizeRollingFileAppenderPega.java:159)
at com.pega.apache.log4j.WriterAppender.append(WriterAppender.java:159)
at com.pega.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
at com.pega.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
at com.pega.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java:578)
at java.lang.Thread.run(Thread.java:798)