[Mapserver-dev] MS_ERRORFILE

Daniel Morissette dmorissette at dmsolutions.ca
Thu Oct 28 10:49:09 EDT 2004


Frank Warmerdam wrote:
> 
> However, I am wondering if we can go a bit further, and have turning on map
> level debugging always set MS_ERRORFILE=stderr *if* MS_ERRORFILE isn't 
> already
> set.  This would mean, in my mind, that turning on the MAP DEBUG 
> statement would
> help get alot more sigificant debug info into the log.
> 
> Any objections?  Questions?  Suggestions?
> 

Frank,

I like the idea, and would also suggest adding a -all_debug option to 
the mapserv CGI since this is what I use for debugging most of the time 
instead of shp2img.

Actually, I had already opened bug 709 to try to solve this issue so I 
think we should move the discussion there:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=709

The title of the bug was to enable the LOG directive in MapScript, but 
my goal was really to expose the errors and debugging information more 
easily to the users, so your suggestion would be an appropriate fix.

I'll copy this comment to the bug.

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-dev mailing list