/var/log/zimbra.log is empty: why?

Ask questions about your setup or get help installing ZCS server (ZD section below).
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

/var/log/zimbra.log is empty: why?

Postby marcmac » Thu Jan 19, 2006 2:37 pm

I'll add this to the Suse 10 build - thanks for finding this!
(Had to go to the man page, huh?)


9211Dude
Posts: 13
Joined: Fri Sep 12, 2014 10:03 pm

/var/log/zimbra.log is empty: why?

Postby 9211Dude » Thu Jan 19, 2006 2:40 pm

[quote user="marcmac"](Had to go to the man page, huh?)[/QUOTE]
No, I do not like man pages ;)
Google did the trick!
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

/var/log/zimbra.log is empty: why?

Postby marcmac » Mon Jan 23, 2006 11:11 am

Here's the change I've made to the installer - this will be added to syslog-ng.conf.in:
filter f_local0 { facility(local0); }; # zimbra

destination zmail { file("/var/log/zimbra.log"); }; # zimbra

log { source(src); filter(f_mail); destination(zmail); }; # zimbra

destination local0 { file("/var/log/zimbra.log"); }; # zimbra

log { source(src); filter(f_local0); destination(local0); }; # zimbra
NOTE - this is all additive (don't modify existing mail entry.) Also, the local0 filter is important - otherwise, you end up with duplicate lines for every mail facility item logger.
9211Dude
Posts: 13
Joined: Fri Sep 12, 2014 10:03 pm

/var/log/zimbra.log is empty: why?

Postby 9211Dude » Mon Jan 23, 2006 4:18 pm

Will change my lines accordingly.
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

/var/log/zimbra.log is empty: why?

Postby marcmac » Mon Jan 23, 2006 4:47 pm

Keep the #zimbra at the end of the line - on reinstall/upgrade, I grep -v zimbra on the file, then re-add the stuff - so if you add the zimbra comment, you'll be happy for upgrade time...
ccmacmil
Posts: 12
Joined: Fri Sep 12, 2014 10:04 pm

/var/log/zimbra.log is empty: why?

Postby ccmacmil » Thu Feb 23, 2006 3:10 pm

[quote user="marcmac"]Here's the change I've made to the installer - this will be added to syslog-ng.conf.in:
filter f_local0 { facility(local0); }; # zimbra

destination zmail { file("/var/log/zimbra.log"); }; # zimbra

log { source(src); filter(f_mail); destination(zmail); }; # zimbra

destination local0 { file("/var/log/zimbra.log"); }; # zimbra

log { source(src); filter(f_local0); destination(local0); }; # zimbra
NOTE - this is all additive (don't modify existing mail entry.) Also, the local0 filter is important - otherwise, you end up with duplicate lines for every mail facility item logger.[/QUOTE]
Don't forget to modify the logrotate.d scripts too!!!
rameshparvathaneni
Posts: 12
Joined: Fri Sep 12, 2014 11:16 pm

/var/log/zimbra.log is empty: why?

Postby rameshparvathaneni » Mon Nov 30, 2009 8:47 am

Hai
I have similar issue i am able to see logs /var/log/zimbra.log but i am not able to see any logs in /var/log/maillog
any idea about this

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 4 guests