cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
549
Views
0
Helpful
1
Replies

logrot.pl: which logfiles need dmgtd to be stopped

Martin Ermel
VIP Alumni
VIP Alumni

Is there a list available that shows the log files which can only be rotated with dmgtd being stopped? I read in one thread that utm.log is a candidate for this. Or does this depend on the current state of the system like certain processes that are running?

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

It depends on how the log file is open. The only noted example of a file which requires offline rotation is jrm.log. The log4j managed files should be okay to rotate online, and most logs are now maintained by log4j.

However, if you find that rotating a log causes it to fill up with NUL bytes, then you will need to use offline rotation to properly truncate it.

View solution in original post

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

It depends on how the log file is open. The only noted example of a file which requires offline rotation is jrm.log. The log4j managed files should be okay to rotate online, and most logs are now maintained by log4j.

However, if you find that rotating a log causes it to fill up with NUL bytes, then you will need to use offline rotation to properly truncate it.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: