cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

​How do the log files of OneAgent rotate? Term or file size?

nkobayashi1
Helper

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


2 REPLIES 2

Babar_Qayyum
Leader

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


Pawel_Popielars
Dynatrace Participant
Dynatrace Participant

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.