Reduce size of log files
Hello. I found such quote:
The default prlogging.xml file in the Pega 7 Platform contains the following appenders that can be configured:
Note: Appenders use the format:
com.pega.pegarules.priv.util.<appendername>
FileAppenderPega
- Creates a log file based on date
- Can be configured to not roll a log file
RollingFileAppenderPega
- Creates a new log file once the current log file reaches
MaxFileSize
- During new log file creation, if the
MaxBackupIndex
threshold is reached for this appender, the system deletes the oldest log fileDailyRollingFileAppenderPega
- Creates a new log file based on date
- If set, the
MaxFileSize
parameter is ignored- During new log file creation, if the
MaxBackupIndex
threshold is reached for this appender, the system deletes the oldest log fileDailySizeRollingFileAppenderPega
- Creates a new log file either based on date or when the current log file reaches
MaxFileSize
- During new log file creation, if the
MaxBackupIndex
threshold is reached for this appender, the system deletes the oldest log file of the dayAppender parameters
The following parameters that can be configured for each appender:
FileNamePattern
- a required parameter that determines the name of the generated log files
- For naming conflicts in new log files, the most recent file is appended with .1 and the old file is renamed and is appended with .1, .2, etc.
MaxFileSize
- an optional parameter that determines the maximum size of a log file
- The value can be listed either in MB or KB
- The default value is
500MB
MaxBackupIndex
- an optional parameter that determines the number of backup files allowed
- The default value is
Integer.MAX_Value
- To set this parameter, add the parameter to the appender, for example:
<param name="MaxBackupIndex" value="10" />
But my version of pega is 6.3 SP1. So, the question is:how can i apply it to my version and can i apply it at all ? Or my prlogging.xml doesn't have place for such kind of settings