SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0002635: squid default logformat - MantisBT Endian Bugtracker
Endian Issue Tracker





Please see now our new Bugtracker system: JIRA








View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002635Endian FirewallApplication Level Proxiespublic2010-01-24 00:322010-03-05 14:24
Reporterjkimathi 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version2.3 
Target VersionFixed in Version 
Summary0002635: squid default logformat
DescriptionI am using Endian Firewall Community release 2.3.0; I have installed sarg to monitor where my users are going on the internet but results from sarg are not good. I have researched and the reason is that sarg only understands when output from /var/log/squid/access.log looks like

1264270408.839 21153 127.0.0.1 TCP_MISS/200 3235 CONNECT mail.google.com:443 - DIRECT/209.85.227.17

But the output from /var/log/squid/access.log on my current endian installation is

Jan 23 20:13:29 firewall squid[6752]: 1264270408.839 21153 127.0.0.1 TCP_MISS/200 3235 CONNECT mail.google.com:443 - DIRECT/209.85.227.17 -

Question:
 What can I set so that my output from /var/log/squid/access.log
looks like line number two? i.e. how can I get the access.log to be only
1264270408.839 21153 127.0.0.1 TCP_MISS/200 3235 CONNECT mail.google.com:443 - DIRECT/209.85.227.17 -

Without the following part?
Jan 23 20:13:29 firewall squid[6752]:


I hope I am clear. Please help.
Regards,
John.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0003955)
peter-endian (administrator)
2010-03-05 14:24

use /var/log/squid/access.log_short
which is in the format you will be created exactly for tools like sarg

- Issue History
Date Modified Username Field Change
2010-01-24 00:32 jkimathi New Issue
2010-03-05 14:24 peter-endian Note Added: 0003955
2010-03-05 14:24 peter-endian Status new => closed
2010-03-05 14:24 peter-endian Resolution open => no change required

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker