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

Reply via email to