Not sure if you've tried this already but if you have 'inherited' a server which has commented out log file lines in, there's a chance that the log file format may have changed at some point.
I changed my apache log format last year and had analog running with a wildcard on all my monthly access logs using autoformat and analog was complaining about corrupt log file lines. The way that I resolved this was simply to cut my access log into two files at the point where it changed and it never complained again, simply switched format when the file changed. May be an idea for auto format to be flexible within files in a future version perhaps? Regards John Boo > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 22 January 2002 11:28 > To: [EMAIL PROTECTED] > Subject: [analog-help] pulling the logformat from apache > > > I know this is said countless times but i'm new at this > so if i'm missing something really obvious don't > chastise me to much :) > > the apache conf file for the logformat is as follows > > ServerSignature On > ErrorLog /usr/local/apache/logs/error_log > LogLevel warn > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"% > {User-Agent}i\"" > combined > LogFormat "%h %l %u %t \"%r\" %>s %b" common > LogFormat "%{Referer}i -> %U" referer > LogFormat "%{User-agent}i" agent > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"% > {User-Agent}i\" > %{SSL_PROTOCOL}x %{SSL_CIPHER}x" ssl-combined > #CustomLog /usr/local/apache/logs/access_log common > #CustomLog /usr/local/apache/logs/referer_log referer > #CustomLog /usr/local/apache/logs/agent_log agent > #CustomLog /usr/local/apache/logs/ssl_request_log "%t % > h %{SSL_PROTOCOL}x > %{SSL_CIPHER}x \"%r\" %b" > #CustomLog /usr/local/apache/logs/access_log combined > CustomLog /usr/local/apache/logs/access_log ssl-combined > > Now which logformat do i use? I know that i can use > multiple formats but 5 different formats? when i do > this i just recieve warnings on every line of the log. > I have been trying to solve this for two days. I know > this is probaly a very neophyte question but any help > would be apreciated > > j.bottoms > +------------------------------------------------------------- > ----------- > | This is the analog-help mailing list. To unsubscribe from this > | mailing list, go to > | http://lists.isite.net/listgate/analog-help/unsubscribe.html > | > | List archives are available at > | http://www.mail-archive.com/[email protected]/ > | http://lists.isite.net/listgate/analog-help/archives/ > | http://www.tallylist.com/archives/index.cfm/mlist.7 > +------------------------------------------------------------- > ----------- > > ______________________________________________________________ > __________ > This e-mail has been scanned for all viruses by Star > Internet. The service is powered by MessageLabs. For more > information on a proactive anti-virus service working around > the clock, around the globe, visit: http://www.star.net.uk > ______________________________________________________________ > __________ > _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre. For further information visit http://www.star.net.uk/stats.asp This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/[email protected]/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------
