[sudo-users] Sudo I/O Log Rotation / Managment
Todd C. Miller
Todd.Miller at courtesan.com
Wed Apr 18 15:53:08 EDT 2012
On Wed, 18 Apr 2012 19:39:03 -0000, JR Aquino wrote:
> I am interested to know how the Sudo I/O logs are meant to be managed
> in terms of log file growth.
> Can logrotate be used to age / purge the logs files based on
> time-date/size? Is there an internal means to roll io logs?
There is no internal mechanism to roll the io logs but removing old
I/O logs based on age (or size) shouldn't cause any problems.
I don't think that logrotate supports rotating entire directories,
but I don't really have much experience with it so please correct
me if I am wrong. I would think that you could just use the find
command if you want to purge based on age.
More information about the sudo-users