Solved

Print Agent log file

  • 6 February 2020
  • 2 replies
  • 422 views

Userlevel 7
Badge +18

Query regarding the Print Agent log files.

Does this file get archived and cleared down?

What would you recommend?

 

icon

Best answer by ChanakaAmarasekara 7 February 2020, 02:40

View original

2 replies

Userlevel 5
Badge +10

Hi

We get about 10 separate log files in the logs directory. These seem to rotate through each time the service is started. Unfortunately I cannot see where the amount of log files (10 in my case) is set?

You can check your logging level in the properties file ifs-logging. Ours is set as the following:

global.level=debug
framework.level=debug

handler.debug.type=textfile
handler.debug.filename=logs/printagent.log
handler.debug.level=debug

handler.console.type=console
handler.console.level=debug

 

Ours do not tend to get that big with the settings above.

Regards

Mike

Userlevel 7
Badge +15

Hi,

The log files are not archived or automatically cleaned. You will have to manually delete any old log files or archive them if you wish to. When the Print Agent is starting, a new log file is created and the previous one is backed-up. The logging mechanism uses the default IFS logger so it behaves the same way as how other loggings work.

 

Regards,

Chanaka

Reply