Page 2 of 2

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

Posted: Thu Jan 19, 2006 2:37 pm
by marcmac
I'll add this to the Suse 10 build - thanks for finding this!
(Had to go to the man page, huh?)

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

Posted: Thu Jan 19, 2006 2:40 pm
by 9211Dude
[quote user="marcmac"](Had to go to the man page, huh?)[/QUOTE]
No, I do not like man pages ;)
Google did the trick!

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

Posted: Mon Jan 23, 2006 11:11 am
by 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.

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

Posted: Mon Jan 23, 2006 4:18 pm
by 9211Dude
Will change my lines accordingly.

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

Posted: Mon Jan 23, 2006 4:47 pm
by marcmac
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...

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

Posted: Thu Feb 23, 2006 3:10 pm
by ccmacmil
[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!!!

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

Posted: Mon Nov 30, 2009 8:47 am
by rameshparvathaneni
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