[mapserver-users] mapserver logging

Chantal Rosmuller chantal at antenna.nl
Mon May 10 06:26:24 EDT 2010


Thank you Jukka,

I am familiar with awstats but I would also like to analyse information about 
actual mapserver actions, like "ḧow many zoom actions". Your tip is helpful 
because indeed I see a lot of mapserver actions in the requested url in the 
apache log file. Can I find the meaning of all the get variables somewhere in 
the mapserver documentation?



Op maandag 10 mei 2010 12:16:25 schreef Rahkonen Jukka:
> 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ä: mapserver-users-bounces at lists.osgeo.org
> > [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Lars Lingner
> > Lähetetty: 10. toukokuuta 2010 12:35
> > Vastaanottaja: mapserver-users at lists.osgeo.org
> > 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
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 


More information about the mapserver-users mailing list