What is Copytruncate in Logrotate?

What is Copytruncate in Logrotate?
Answer
copytruncate : Truncate the original log file in place after creating a copy, instead of moving the old log file and optionally creating a new one. It can be used when some program cannot be told to close its logfile and thus might continue writing (appending) to the previous log file forever.
 

Tìm kiếm

Back
Top