F18+ /var/log/messages safely clean/rotate

Frank Murphy frankly3d at gmail.com
Wed May 1 07:52:57 UTC 2013


How to safely clean /var/log/messages for specific testing.
or set it to hourly rotate.
Couldn't see specific config in /etc/logrotate.d

Have tried "logrotate --force /var/log/messages"
lots of "error: /var/log/messages:7137 unknown option 'May' --
ignoring line"
I done want to nano "wipe the file" if possible
-- 
Regards,
Frank
www.frankly3d.com


More information about the users mailing list