Am 01.05.2013 09:52, schrieb Frank Murphy: > 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 logotate does not work this way /etc/logrotate.d/syslog /var/lib/logrotate.status > Have tried "logrotate --force /var/log/messages" > lots of "error: /var/log/messages:7137 unknown option 'May' -- > ignoring line" no wonder - you gave it the logfile as con figuration > I done want to nano "wipe the file" if possible Normally you simply type "> /var/log/messages" which finally mean "redirect nothing to the file" and since append would be >> it is cleared
Attachment:
signature.asc
Description: OpenPGP digital signature
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org