Score:0

How do I skip error messages for missing logs and continue to next log on /etc/logrotate.conf

th flag

I'm trying to configure a log rotation scheme but I want it to skip error messages for missing logs and continue to the next log. So far my configuration looks like this:

$ nano auth
/var/log/auth.log {
        rotate weekly
        rotate 7
        notifempty
        delaycompress

How do I tell it to skip errors messages?

Score:0
th flag

I came up with missingok to skip errors.

Marc Vanhoomissen avatar
in flag
A few words of explanation would help.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.