missingok
Missingok is a directive used in the logrotate configuration system. It tells logrotate to proceed with rotation even if the target log file does not exist at the time of rotation. When present in a log stanza, missingok prevents logrotate from issuing an error and stopping processing if the file is missing; it simply skips that file and continues with the rest of the rotation tasks.
Usage and placement: missingok is added as a line inside a logrotate stanza that applies to a
}
Behavior and implications: if the log file exists, logrotate performs the normal rotation steps as configured.
Related concepts: missingok can be used alongside other options such as compress, notifempty, and create. The