Hi,

There are two kind of logs. The one that Lars is referring to is so called 
Mapserver errorfile and while it is good for debugging it cannot be used for 
making statistics about visitors etc.  Webserver statistics can be made from 
the http server log files.  For example in MS4W installations http logs can be 
found from D:\Program Files\ms4w\Apache\logs. What will be logged into these 
log files is configured in the Apache httpd.conf file.

Apache log files suit well for analysing WMS usage because requests are coming 
through http GET method and then almost everything gets stored into the log.  
If requests are coming though POST then Apache access.log does not give as much 
information.

There are many tools for analysing http server logs. Any search engine will 
return you lots of reading if you have a try with "http log analyze". I have 
been using AWStats and even the AWStats demo report gives useful numbers about 
the number of visitors, bandwidth, top ten IP addresses of the visitors etc.  
Perl programmer could make a report that suits better for making statistics 
about Mapserver usage. I would start by searching where the Apache access.log 
file is and having a look at it with some text editor.


-Jukka Rahkonen-


 


> -----Alkuperäinen viesti-----
> Lähettäjä: [email protected] 
> [mailto:[email protected]] Puolesta Lars Lingner
> Lähetetty: 10. toukokuuta 2010 12:35
> Vastaanottaja: [email protected]
> Aihe: Re: [mapserver-users] mapserver logging
> 
> On 10.05.2010 11:20, Chantal Rosmuller wrote:
> > Hi list,
> > 
> > I have a few questions about mapserver logging,
> > 
> > Where can I change the log file location and logging verbosity?
> > 
> > Where can I find documentation about the logfile syntax?
> > 
> 
> The debug parameter is described here:
> http://mapserver.org/mapfile/map.html
> 
> > I would like to analyse the logfiles (get some statistiscs 
> about amount of 
> > visitors etc) is there software or a script for that or 
> should I write one 
> > myself?
> > 
> 
> I'm not aware of such an script.
> 
> Lars
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to