Ruediger Kluge <[EMAIL PROTECTED]> wrote:
>
> 80.132.229.184 - - [17/Jun/2004:00:02:16 +0200]
> "GET /CEK-Module.htm HTTP/1.1" 304 - www.conelek.com
>
"http://www.google.de/search?q=Breadboard&hl=de&lr=&ie=UTF-8&start=20&sa
=N"
> "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" "-"
>
> There are Spaces between all fields.

My mail client wrapped these lines, and stripped the space - always a
problem with log file entries, especially when something like the
referrer is long and doesn't have any "natural" break points.

>> LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j %r %j" %c %b %v "%f""%B"
>> "%j")
>>
>> looks like it will do the job (no space between %f and %B).
>
> I made a space between %f and %B and it works. :) Thank you.
> Tomorrow I will try to understand the difference between the LOGFORMAT
> that Analog expects and your LOGFORMAT. Please can you give me the
> LOGFORMAT which is used by Analog?

Analog can recognize a variety of log formats (and some logs include
list of the fields at the start of each logfile). The example I
suggested is a modification of the standard LOGFORMAT COMBINED (you have
a cookie field at the end, which I marked at %j).

http://www.analog.cx/docs/logfmt.html#combinedfmtex

Aengus

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to