Skip to content

Is there a way to limit the size of the Print Agent's own log file (printagent.0.log) so a new file gets created once it reaches a certain size, without restarting the Print Agent service in the process?

Answer

Add maxsize and filecount entries to the ifs-logging.properties file found in the Print Agent's own folder — for example, handler.debug.maxsize=10M to cap each log file at 10MB, and handler.debug.filecount=5 to retain 5 rotated log files. Adjust the size and retention count to your own requirements; this rotates the log automatically without requiring a Print Agent service restart.

← Browse Reporting and analytics questions