OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

5.4. Troubleshooting


The best way to figure out why something is going wrong is to check the log files.

• For instructions on Postfix logging see the Section 1.7, “Troubleshooting” [p. 267] section.

• Amavisd-new uses Syslog to send messages to /var/log/mail.log. The amount of detail can be increased by adding the $log_level option to /etc/amavis/conf.d/50-user, and setting the value from 1 to 5.


$log_level = 2;


image

When the Amavisd-new log output is increased Spamassassin log output is also increased.



• The ClamAV log level can be increased by editing /etc/clamav/clamd.conf and setting the following option:


LogVerbose true


By default ClamAV will send log messages to /var/log/clamav/clamav.log.


image

After changing an applications log settings remember to restart the service for the new settings to take affect. Also, once the issue you are troubleshooting is resolved it is a good idea to change the log settings back to normal.


Top OS Cloud Computing at OnWorks: