Is there a way to increase the number of wrapper.log files the system keeps around?
Currently our system keeps the current plus 5 log files, is there a way to increase it to say 10 or 20?
Thank you!
Is there a way to increase the number of wrapper.log files the system keeps around?
Currently our system keeps the current plus 5 log files, is there a way to increase it to say 10 or 20?
Thank you!
Sure!
In the data folder where Ignition is installed, you’ll find the ignition.conf file. Here’s the relevant portion (file size and number of files are toward the bottom):
[code]#********************************************************************
#********************************************************************
wrapper.console.format=PM
wrapper.console.loglevel=INFO
wrapper.logfile=logs/wrapper.log
wrapper.logfile.format=LPTM
wrapper.logfile.loglevel=INFO
wrapper.logfile.maxsize=10m
wrapper.logfile.maxfiles=5
wrapper.syslog.loglevel=NONE[/code]
Is it possible to change where the files are saved, like another disk?
Yes, by changing the wrapper.logfile
property:
https://wrapper.tanukisoftware.com/doc/english/prop-logfile.html