Do we have a way to limit print agent log file (printagent.0.log) size?
For example, if it's 100MB, then new file should be created and log there.
Print agent service should not restart at this step of switching to a new file.
Do we have a way to limit print agent log file (printagent.0.log) size?
For example, if it's 100MB, then new file should be created and log there.
Print agent service should not restart at this step of switching to a new file.
Hi
You can try adding below entries to the ifs-logging.properties file, which can be found inside the Print Agent folder, amongst other configuration files.
handler.debug.maxsize=10M
handler.debug.filecount=5
Here 10M is the maximum size of the log file in Mega Bytes (10MBs) and ‘filecount’ is the number of files to retain. In above example, 5 log files will be retained.
You can specify appropriate values for these depending on your requirement.
Hope this helps!
Thanks, this works
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.