09 Jul 2018 08:32 AM
Hi,
Could you tell me how the log files of OneAgent rotate?
I guess that the rotation is automatically run.
But our customer wants to know the condition.
Specific term? or file size?
Thanks,
Noah Kobayashi
Solved! Go to Solution.
09 Jul 2018 09:01 AM
Hello Noah,
I am not sure exactly but maybe the same formula of AppMon applies here e.g. maximum number of log files are 5 and the maximum size of one log file is 10 MB.
Regards,
Babar
19 Jul 2018 11:15 AM
Hi,
Babar is correct, OneAgent rotates files. 5 files with a limit of 10 MB.
There might be some differences here and there but this is the general approach.
OneAgent also ages logs based on time, quantity and size.
That is used when we want the logs to remain for future debug purpose, e.g. installation logs.
In that case we keep the files after installation/updates and they are simply removed after a certain period of time, or too much of them were created, or they take too much space.
Lastly, in extreme situations when "low hdd" alert was created, we just remove all logs with a few exceptions.