Salaam!

tito.basa wrote:

> 127.0.0.1 - - [18/Mar/2005:18:42:51 +0800] "GET /images/atom1a.gif
> HTTP/1.1" 304 - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)"
> 127.0.0.1 - - [18/Mar/2005:18:42:51 +0800] "GET /images/atom3b.jpg
> HTTP/1.1" 304 - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)"

That is precisely the same log format my server produces. I think it's an Apache format, but when I first ran Analog I had added lines at the top of my log files and Analog didn't recognize them. Not knowing what was wrong, I constructed LOGFORMAT commands until I got it right. Today, my log files no longer contain editing but I still use the LOGFORMAT command.

> would this do it?
> LOGFORMAT (%s - - %d/%m/%y %h:%n:%am, %r, %c, - %B)

Probably not ... you've omitted the [brackets] and added a space in the date/time, among other differences. I use this:

LOGFORMAT (%s - - [%d/%M/%Y:%h:%n:%j] "%j %r %j" %c %b "%f" "%B")

was-salaam,
abujamal
--
astaghfirullahal-ladhee laa ilaha illa
howal-hayyul-qayyoom wa 'atoobu 'ilaihi

Rejoice, muslims, in martyrdom without fighting,
a Mercy for us.  Be like the better son of Adam.


+------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | 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