Log Files: Difference between revisions

mNo edit summary
No edit summary
Line 1: Line 1:
= This is a list of log file locations and what's in them =
'''Zimbra logs in several locations'''
Depending on what's installed on the server, and how your system is configured, some logs may not be on the server that is experiencing the error.
Depending on what's installed on the server, and how your system is configured, some logs may not be on the server that is experiencing the error.


* Installation Logs
==Installation Logs==
:''These are named with a pid file extension (3-5 digit number) - generally, the latest one is the one you're looking for''
:''These are named with a pid file extension (3-5 digit number) - generally, the most recent one is the one you're looking for''
:'''/tmp/zmsetup.log'''
:'''/tmp/zmsetup.log'''
:'''/tmp/install.log'''
:'''/tmp/install.log'''
* [[MTA]] logs
 
==Runtime Logs==
 
=====Most logs are found in /opt/zimbra/log/:=====
 
'''zimbra.log''' - tomcat mail services
'''audit.log''' - authentication
'''clamd.log''' - antivirus db
'''convertd.log''' - attachment conversion
'''freshclam.log''' - clam antivirus updates
'''logger_myslow.log''' - slow logger db queries
'''myslow.log''' - slow db queries
'''spamtrain.log''' - spam/ham training
'''sync.log''' - zimbra mobile
'''zimbrastats.csv''' - server monitoring
'''zmconvertd.log''' - conversion server monitor
 
=====Some additional logs are in /opt/zimbra/tomcat/logs/:=====
 
'''access_log.<date>''' - traditional http access log for each http "hit"
'''catalina.out''' -
'''stacktrace.<pid>''' - full thread dump from "kill -3 <tomcat pid>"; generated each time tomcat is stopped
 
=====Other log locations:=====
 
'''/var/log/zimbra.log''' - MTA log; postfix, amavisd
 
 
==[[MTA]] logs==
:The [[MTA]] (postfix) logs via syslog to the mail facility.  By default, this goes to '''/var/log/maillog''', but Zimbra sets it to '''/var/log/zimbra.log'''
:The [[MTA]] (postfix) logs via syslog to the mail facility.  By default, this goes to '''/var/log/maillog''', but Zimbra sets it to '''/var/log/zimbra.log'''


* [[Tomcat]] (web server) logs
==[[Tomcat]] (web server) logs==
:Tomcat logs via syslog to the local0 facility.  By default, this goes to '''/var/log/zimbra.log''' AND '''/opt/zimbra/log/zimbra.log'''
:Tomcat logs via syslog to the local0 facility.  By default, this goes to '''/var/log/zimbra.log''' AND '''/opt/zimbra/log/zimbra.log'''
:Some tomcat information (including [[Stack Traces]]] will also be in '''/opt/zimbra/tomcat/logs/catalina.out'''; restarting tomcat generates a new '''/opt/zimbra/tomcat/logs/stacktrace.<pid>'''
:Some tomcat information (including [[Stack Traces]]] will also be in '''/opt/zimbra/tomcat/logs/catalina.out'''; restarting tomcat generates a new '''/opt/zimbra/tomcat/logs/stacktrace.<pid>'''


* [[Spell server]] logs
==[[Spell server]] logs==


* [[Swatch]]
==[[Swatch]]==
:[[Swatch]] logs to '''/tmp/swatch.out'''
:[[Swatch]] logs to '''/tmp/swatch.out'''

Revision as of 23:14, 5 June 2006

Depending on what's installed on the server, and how your system is configured, some logs may not be on the server that is experiencing the error.

Installation Logs

These are named with a pid file extension (3-5 digit number) - generally, the most recent one is the one you're looking for
/tmp/zmsetup.log
/tmp/install.log

Runtime Logs

Most logs are found in /opt/zimbra/log/:
zimbra.log - tomcat mail services
audit.log - authentication
clamd.log - antivirus db
convertd.log - attachment conversion 
freshclam.log - clam antivirus updates
logger_myslow.log - slow logger db queries
myslow.log - slow db queries
spamtrain.log - spam/ham training
sync.log - zimbra mobile
zimbrastats.csv - server monitoring
zmconvertd.log - conversion server monitor
Some additional logs are in /opt/zimbra/tomcat/logs/:
access_log.<date> - traditional http access log for each http "hit"
catalina.out - 
stacktrace.<pid> - full thread dump from "kill -3 <tomcat pid>"; generated each time tomcat is stopped
Other log locations:
/var/log/zimbra.log - MTA log; postfix, amavisd


MTA logs

The MTA (postfix) logs via syslog to the mail facility. By default, this goes to /var/log/maillog, but Zimbra sets it to /var/log/zimbra.log

Tomcat (web server) logs

Tomcat logs via syslog to the local0 facility. By default, this goes to /var/log/zimbra.log AND /opt/zimbra/log/zimbra.log
Some tomcat information (including Stack Traces] will also be in /opt/zimbra/tomcat/logs/catalina.out; restarting tomcat generates a new /opt/zimbra/tomcat/logs/stacktrace.<pid>

Spell server logs

Swatch

Swatch logs to /tmp/swatch.out
Jump to: navigation, search