Logwatch and it's 7MB emails :-(

Discussion in 'Installation/Configuration' started by edge, Apr 5, 2006.

  1. edge

    edge Active Member Moderator

    Hi all,

    I've been trying for some day's now, but I can not find a way to 'fix' it...

    I've got Logwatch running on a cron job every night, and it's working really nice!.. To nice !!!

    (not sure why it's 2 times in the Cron, but that's how it was setup after installing Fedora RC4)

    Every day I get 2 emails from Logwatch.
    One is nice and small, but the other one is about 7MB everyday!
    The part that is making it really big is the http, so now I would like LogWatch NOT to report that part!

    I've added Service = "-http" to all the logwatch.conf files that I found on the system, but it did not work!

    Am I missing something here?

    It's the part that is in:
    --------------------- httpd Begin ------------------------
    ..
    ..
    --------------------- httpd Edn ------------------------
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's in your logwatch.conf file? Did you restart logwatch?
     
  3. edge

    edge Active Member Moderator

    I've got 4 logwatch.conf files
    This is what in the files:
    In the: /usr/share/logwatch/default.conf/logwatch.conf
    In the: /etc/log.d/conf/logwatch.conf (and symlink: /etc/log.d/logwatch.conf)
    In the: /etc/logwatch/conf/logwatch.conf
    Euhhhhhhh.. no.. For sure this is the problem :/
    How do I restart it (I do not really want to do a reboot)
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Do you have a logwatch init script in /etc/init.d?
    You can then restart it with
    Code:
    /etc/init.d/logwatch restart
    (or whatever the name of the init script is).
     

Share This Page