Logs are not rotated: didn't find priority 'LOG_IFOO'

Created:

2017-03-02 08:43:09 UTC

Modified:

2017-08-08 13:24:43 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Logs are not rotated: didn't find priority 'LOG_IFOO'

Applicable to:

  • Plesk Onyx for Linux

Symptoms

Not all logs are rotating on Debian 7.
Affected logs are not cpecified in the /usr/local/psa/etc/logrotate.conf configuration file, but can be found in the files located in /etc/logrotate.conf or the /etc/logrotate.d/ directory.
When running logrotate manually, the following error is displayed:

# /usr/sbin/logrotate /etc/logrotate.conf  
Message from syslogd@example.com at Mar 2 08:00:00 ...
cleanup: fatal: didn't find priority 'LOG_IFOO', exiting

Cause

Debian bug #700342 - postfix-policyd: Fatal cleanup error: "didn't find priority 'LOG_IFOO', exiting".

Resolution

1. Chandeg the following line in the /etc/postfix-policyd.conf file:

SYSLOG_FACILITY="LOG_MAIL | LOG_INFO"  

to

SYSLOG_FACILITY="LOG_MAIL|LOG_INFO"  

2. Restart Postfix:

# /etc/init.d/postfix restart
Have more questions? Submit a request
Please sign in to leave a comment.