Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Log Files
(view source)
Revision as of 14:18, 27 September 2007
213 bytes added
,
14:18, 27 September 2007
→What they are and what they mean
Line 15:
Line 15:
<pre>#! /usr/bin/perl -p
<pre>#! /usr/bin/perl -p
s/^\d+\.\d+/localtime $&/e;</pre>
s/^\d+\.\d+/localtime $&/e;</pre>
+
+
If the above perl code is put into a script 'timeconvert.pl', and made executable, then the squid access log can be converted using the following command:
+
+
<pre># ./timeconvert.pl /var/log/squid/access.log</pre>
==== E-mail logfiles ====
==== E-mail logfiles ====
Judgej
97
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version