I think the problem is that mapserver is a CGI program, not a module
of Apache.  If it were a module of Apache (for example, PHP) then its
error report could be sent to the Apache error log.  But as a separate
process, it doesn't have access to the Apache log system.  OCICBW

Perhaps if mapserver could be configured to write to its own error log
the parameters it got called with, then you could more easily
associate a particular web request with the mapserver error message.
At the moment, the only way you can do that is by matching the time of
the mapserver error entry with an apache log entry with the same time.

But does mapserver actually have anything that looks like the web
request that caused it to be called?

What do you think?

Peter

On Tue, Apr 29, 2014 at 2:55 PM, Basques, Bob (CI-StPaul)
<[email protected]> wrote:
> All,
>
>
>
> Has anyone done any work with capturing MapServer errors in APACHE?
> Specifically I want to be able to tell the difference between a MapServer
> mis-config (textual error page) and a successful image response.   The idea
> is to somehow log those textual message responses in an automated way
> through Apache.
>
>
>
> I’m pretty sure I could make my own custom logfile for MapServer (CGI)
> calls, but not so sure about textual response vs raster response filters, at
> least from the APACHE point of view . . ..  Is a MapServer Text based error
> page considered for inclusion in the Apache error log or??
>
>
>
> Thanks.
>
>
>
> Bobb
>
>
>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



-- 
Peter N. Schweitzer (U.S. Geological Survey, Reston, VA 20192)
(703) 648-6533  email: [email protected]
http://geology.usgs.gov/peter/
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to