Skip to main content
Solved

APP8 Print Agent log file size

  • September 5, 2022
  • 2 replies
  • 69 views

Forum|alt.badge.img+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.

 

Best answer by Charith Epitawatta

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!

View original
Did this topic help you find an answer to your question?

2 replies

Charith Epitawatta
Ultimate Hero (Employee)
Forum|alt.badge.img+31
  • Ultimate Hero (Employee)
  • 1093 replies
  • Answer
  • September 8, 2022

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!


Forum|alt.badge.img+7
  • Author
  • Do Gooder (Partner)
  • 18 replies
  • October 3, 2022

Thanks, this works


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings