Book Image

Webmin Administrator's Cookbook

By : Michal Karzynski
Book Image

Webmin Administrator's Cookbook

By: Michal Karzynski

Overview of this book

Table of Contents (19 chapters)
Webmin Administrator's Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding other logfiles to Webmin


Server daemons, which do not use Syslog, save their log messages directly to files on your disk. Webmin allows you to view, search, and monitor all logfiles in ways described in this chapter's first recipe. For easy reference, you can add commonly viewed logfiles to the list in System Logs module.

Getting ready

Log messages you need to debug your problem are in there somewhere; you just need to know where to look. Before you can add them to Webmin, you need to find the logfile's full path.

On Linux, logs are typically stored in the /var/log directory. The following table lists the default locations of log messages of some commonly used services:

Daemon

Default log file location

Apache 2

Messages may be output to: /var/log/apache2/access.log,

/var/log/apache2/error.log, and so on.

MySQL

Messages may be output to: /var/log/mysql/mysql.log.

or go to Syslog with the daemon facility.

PostgreSQL

Messages may be output to: /var/log/pgsql_log.

or go to Syslog...