Red Hat Customer Portal

Skip to main content

Bacula: Logwatch logfile paths don't match with logrotate logfile paths

Solution Unverified - Updated -


  • Logrotate and logwatch configration refers to different path for bacula's log files.

  • Logwatch configuration:

    cat /etc/logwatch/conf/logfiles/bacula.conf 
    # What actual file?  Defaults to LogPath if not absolute path....
    LogFile = /var/spool/bacula/log
  • Logrotate configuration:

    cat /etc/logrotate.d/bacula 
    # Bacula logrotate script
    /var/log/bacula/*.log /var/spool/bacula/log /var/log/bacula.log {
        rotate 4
  • Bacula configuration (standar Messages):

    append = "/var/spool/bacula/log" = all, !skipped
  • Bacula configuration (daemon messages):

    append = "/var/log/bacula.log" = all, !skipped


  • RHEL6.1
  • Bacula*-5.0.0-7.el6
  • logrotate-3.7.8-12.el6_0.1
  • logwatch-7.3.6-49.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In