Thanks for your input. In fact, the ( ) are needed (http://www.analog.cx/docs/whole.html - pág 3) because of the spaces between fields in LOGFORMAT
Regards On 3/3/06, Alan Wright <[EMAIL PROTECTED]> wrote: > Try removing the ( ) so the line reads > > LOGFORMAT %S %j %u %j %M %d %h:%n:%j %Y "%r" %j %b %c > > Rgds > > Alan Wright > IT Support Technician > Centre for Psychological Research in Human Behaviour > School of Education, Health & Sciences > University of Derby > Western Road, Mickleover, DE3 9GX > > http://ibs.derby.ac.uk/psychology > > At 10:58 03/03/2006, you wrote: > >Hi > > > >I have the following scenario (LINUX): > > > >tux and apache working in the same DOCROOT > > > >I use: > > tux2w3c native_log_file_tux > my_tux_logs_in_txt > > > >The lines in my_tux_logs_in_txt have the following format > >(which is W3C compatible): > > > >194.65.122.241 - - Mon Feb 27 03:50:42 2006 "GET > >site.pt/somedir/images/IMAGE.gif HTTP/1.0" - 0 404 > > > >I have tried scripts (analog, calamaris, awstats) to analyse these logs > >(my_tux_logs_in_txt) defining a LOGFORMAT > > > >For example for analog, I've tried: > >LOGFORMAT (%S %j %u %j %M %d %h:%n:%j %Y "%r" %j %b %c) > > > >for the line logs like the ones: > > > >194.65.122.241 - - Mon Feb 27 03:50:42 2006 "GET > >site.pt/somedir/images/IMAGE.gif HTTP/1.0" - 0 404 > > > > > >The outpur of analog is: > > > >This report contains overall statistics. > >Successful requests: 0 > >Failed requests: 21,894 > >Corrupt logfile lines: 225 > >-------------------------------------------------------------------------------- > >Status Code Report > >(Go To: Top: General Summary: Status Code Report) > >This report lists the HTTP status codes of all requests. > >Listing status codes, sorted numerically. > > > > reqs: status code > >-----: ----------- > >21894: 404 Document not found > > > > > >I take for granted: > > > >1. Tux is not working has cache (Is LOGFORMAT well defined?) > >2. Why the corrupted log lines in log file? > > > >Thanks very much for your (precious) time reading and maybe providing > >some feedback. > > > >Best regards, > >lisbon_pt > > > >-------------- ANALOG for LOGFORMAT -------------- > >%S host (the client hostname, or address of the computer making the request) > >%r file requested > >%u user (tip: a cookie or session id can usefully be defined as %u too) > >%d day of the month > >%M month, three letter English abbreviation > >%Y year, four digits > >%h hour of the day > >%n minute of the hour > >%b number of bytes transferred > >%c HTTP status code > >%j junk: ignore this field (field can be empty too) > > > >+------------------------------------------------------------------------ > >| TO UNSUBSCRIBE from this list: > >| http://lists.meer.net/mailman/listinfo/analog-help > >| > >| Analog Documentation: http://analog.cx/docs/Readme.html > >| List archives: http://www.analog.cx/docs/mailing.html#listarchives > >| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general > >+------------------------------------------------------------------------ > > > >______________________________________________________________________ > >This email has been scanned by the MessageLabs Email Security System. > >For more information please visit http://www.messagelabs.com/email > >______________________________________________________________________ > > +------------------------------------------------------------------------ > | TO UNSUBSCRIBE from this list: > | http://lists.meer.net/mailman/listinfo/analog-help > | > | Analog Documentation: http://analog.cx/docs/Readme.html > | List archives: http://www.analog.cx/docs/mailing.html#listarchives > | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general > +------------------------------------------------------------------------ > +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html | List archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +------------------------------------------------------------------------

