Changes

From SME Server
Jump to navigationJump to search
209 bytes added ,  14:04, 27 September 2007
Line 11: Line 11:  
  tail -f /var/log/qpsmtpd/current | tai64nlocal
 
  tail -f /var/log/qpsmtpd/current | tai64nlocal
   −
Some SME logs are still created using syslog or another process (not multilog).
+
Some SME logs are still created using syslog or another process (not multilog). An examples of this is the squid/access.log file. The following perl script filter will convert the times in a squid logfile to human-readable form:
 +
 
 +
<pre>#! /usr/bin/perl -p
 +
s/^\d+\.\d+/localtime $&/e;</pre>
    
==== E-mail logfiles ====
 
==== E-mail logfiles ====
97

edits

Navigation menu