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:
|
MySQL |
Messages may be output to: or go to Syslog with the |
PostgreSQL |
Messages may be output to: or go to Syslog... |