Solved

APP8 Print Agent log file size

  • 5 September 2022
  • 2 replies
  • 57 views

Badge +7

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.

 

icon

Best answer by Charith Epitawatta 8 September 2022, 22:21

View original

2 replies

Userlevel 7
Badge +31

Hi @CovMayurJ,

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!

Badge +7

Thanks, this works

Reply