Changes

From SME Server
Jump to navigationJump to search
135 bytes added ,  19:02, 27 September 2007
m
Added one line solution for time conversion of squid log files
Line 19: Line 19:     
<pre># ./timeconvert.pl /var/log/squid/access.log</pre>
 
<pre># ./timeconvert.pl /var/log/squid/access.log</pre>
 +
 +
You can also do this analog to the first command like this:
 +
 +
tail /var/log/squid/access.log | perl -pe 's/^\d+\.\d+/localtime $&/e;'
    
==== E-mail logfiles ====
 
==== E-mail logfiles ====

Navigation menu