Roberto Hoyle <[EMAIL PROTECTED]> wrote:
> 
> DEFAULTLOGFORMAT ( [%Y-%m-%d %h:%n:%j] %v:%j %s:%j %j %j %Tms %c %j %j
> %b %j "%j" "%r" "%j" "%q" "%f" "%B" "%j" "%j" )
> 
> 
> This is a sample of the log:
> 
> [2008-02-11 10:50:02 EST] library.dartmouth.edu:80 130.189.217.32:-
> HTTP/1.1 GET 28505ms 200 200 + 270629 11428 "GET /se
> arch/search360/search360.js HTTP/1.1" "/data/websites/diglib/search/
> search360/search360.js" "/search/search360/search360
> .js" "" "http://www.dartmouth.edu/~biomed/"; "Mozilla/4.0 (compatible;
> MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322;
> .NET CLR 2.0.50727)" "-" "-"

Your DEFAULTLOGFORMAT starts with a space (everything within the parentheses is 
important), your logfile doesn't.

If you take the spaces out at the beinning and end of the LOGFORMAT, Analog 
will interpret the sample lines you provided.

LOGFORMAT ([%Y-%m-%d %h:%n:%j] %v:%j %s:%j %j %j %Tms %c %j %j %b %j "%j" "%r" 
"%j" "%q" "%f" "%B" "%j" "%j")

Aengus

+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------

Reply via email to