Hi, if I use this APACHELOGFORMAT "%h %l %u %v %A %t \"%r\" %>s %b %T %f %U \"%{Referer}i\"" in the analog.cfg the response is :
/analog: analog version 5.32/Unix ./analog: Warning C: Bad argument in configuration command: ignoring it: APACHELOGFORMAT -> LOGFORMAT (%S %j %u %v %v [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b %t %j %r "%f") ./analog: ...cont..: (reason: one item occurs twice in format) (For help on all errors and warnings, see docs/errors.html) F: Closing configuration file /LOG_HTTP/analog-5.32/analog.cfg F: Opening /usr/local/analog/lang/uk.lng as language file F: Closing language file /usr/local/analog/lang/uk.lng F: Opening /usr/local/analog/lang/ukdom.tab as domains file F: Closing domains file /usr/local/analog/lang/ukdom.tab F: Opening /usr/local/analog/lang/ukdesc.txt as report descriptions file F: Closing report descriptions file /usr/local/analog/lang/ukdesc.txt F: Opening /products/ias9i/Apache/Apache/logs/access_log as logfile ./analog: Warning F: Can't auto-detect format of logfile /products/ias9i/Apache/Apache/logs/access_log: ignoring it F: Closing logfile /products/ias9i/Apache/Apache/logs/access_lo Can I help me ? Thanks Andrea -----Messaggio originale----- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Jeremy Wadsack Inviato: giovedì 23 settembre 2004 18.45 A: Support for analog web log analyzer Oggetto: Re: [analog-help] LOF FORMAT If you look at the CustomLog line in your httpd.conf it should name the 'extlog' type defined in your LogFormat lines below. You can use Analog's APACHELOGFORMAT command to match the format used in your web server configuration: APACHELOGFORMAT "%h %l %u %v %A %t \"%r\" %>s %b %T %f %U \"%{Referer}i\"" Although you might consider using a different log format in your httpd.conf that include the User Agent so you can get browser and operating system reports. -- Jeremy Wadsack Seven Simple Machines Andrea Zorretta wrote: >Hello All, > > > >How i can set LOGFORMAT for this strings in access_log ? > > > > 10.173.170.185 - - rpasrv1 10.173.112.13 [23/Sep/2004:11:34:25 +0200] > "GET /Superiore.jsp HTTP/1.1" 200 4550 0 - /Superiore.jsp > "http://10.173.112.13:7778/index.jsp" > > > > The log format in my httpd.conf file is : > > > > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" > \"%{User-Agent}i\"" combined > > LogFormat "%h %l %u %t \"%r\" %>s %b" common > > LogFormat "%h %l %u %v %A %t \"%r\" %>s %b %T %f %U \"%{Referer}i\"" > extlog > > LogFormat "%{Referer}i -> %U" referer > > LogFormat "%{User-agent}i" agent > > > >Thanks and Sorry for my English. > > > > Andy > >------------------------------------------------------------------------ > >+------------------------------------------------------------------------ >| 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 >+------------------------------------------------------------------------ > > +------------------------------------------------------------------------ | 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 +------------------------------------------------------------------------ +------------------------------------------------------------------------ | 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 +------------------------------------------------------------------------