You can also use shell access, eg, to perform more complex searches or manipulations.
You can also use shell access, eg, to perform more complex searches or manipulations.
−
=== Date Conversions ===
−
Most of the SME log files are created using D.J. Bernstein's [http://cr.yp.to/daemontools/multilog.html multilog].
−
* Multilog logs to a file named 'current' in a subdirectory named for the service
−
* Multilog records time as an "@" followed by "a precise timestamp".
−
* Multilog timestamps are converted to human-readable form automatically by 'View log files' referenced above.
−
* At a shell prompt you can pipe multilog output through '''tai64nlocal''' to generate a human-readable time:
−
tail -f /var/log/qpsmtpd/current | tai64nlocal
−
−
Some SME Server log files are still created using syslog or another process (not multilog). An example of this is the squid/access.log file. The following command will convert the times in a squid logfile to human-readable form: