Remove the backslashes from your APACHELOGFORMAT.  They're just there in the
httpd.conf in order to escape the double quotes in a double-quoted string,
but Analog doesn't use quotes to enclose the string.

Jaume Teixi wrote:

> this is how my apache httpd.conf handles logs:
> LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\"" vcommon
>
> this is what i put on my analog.conf:
> APACHELOGFORMAT (%V %h %l %u %t \\\"%r\\\" %>s %b \\\"%{Referer}i\\\"
> \\\"%{User-Agen
> t}i\\\" vcommon)
>
> this is errors i get;
>
> analog: analog version 4.11/Unix
> analog: Warning C: Bad argument in configuration command: ignoring it:
>   APACHELOGFORMAT -> LOGFORMAT (%v %S %j %u [%d/%M/%Y:%h:%n:%j]
>   \"%j%w%r%wHTTP%j\" %c %b \"%f\" \"%B\" vcommon)
> analog: ...cont..:   (reason: an unknown escape sequence is present)
>   (For help on all errors and warnings, see
> /usr/share/doc/analog/errors.html)
> analog: Warning L: Large number of corrupt lines in logfile
>   /var/www/logs/aecork.com.log: try different LOGFORMAT
>     Current logfile format:
>       %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n
>       %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n
>       %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n
> analog: Warning R: Turning off empty time reports
> analog: Warning R: Turning off empty Request Report
> analog: Warning R: Turning off empty File Type Report
> analog: Warning R: Turning off empty Directory Report
> analog: Warning R: Turning off empty Domain Report
> analog: Warning R: Turning off empty Organisation Report
> analog: Warning R: Turning off empty Search Word Report
> analog: Warning R: Turning off empty Operating System Report
> analog: Warning R: Turning off empty File Size Report
> analog: Warning R: Turning off empty Status Code Report
>
> TIA,
> teixi.
>
> ------------------------------------------------------------------------
> This is the analog-help mailing list. To unsubscribe from this
> mailing list, send mail to [EMAIL PROTECTED]
> with "unsubscribe" in the main BODY OF THE MESSAGE.
> List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
> ------------------------------------------------------------------------

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
------------------------------------------------------------------------

Reply via email to