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?
/var/log/zimbra.log is empty: why?
[quote user="marcmac"](Had to go to the man page, huh?)[/QUOTE]
No, I do not like man pages
Google did the trick!
No, I do not like man pages
Google did the trick!
/var/log/zimbra.log is empty: why?
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.
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?
Will change my lines accordingly.
/var/log/zimbra.log is empty: why?
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?
[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!!!
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!!!
-
- Posts: 12
- Joined: Fri Sep 12, 2014 11:16 pm
/var/log/zimbra.log is empty: why?
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
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