MS RFC 28: Redesign of LOG/DEBUG output mechanisms

Daniel Morissette dmorissette at MAPGEARS.COM
Fri Jun 15 14:48:18 EDT 2007


Ed McNierney wrote:
> Folks -
> 
> It would be helpful if it were possible to turn DEBUG ON right from the
> start, so debug/log messages could be generated during the loading and
> parsing of the map file.
> 

Perhaps a MS_DEBUGLEVEL environment variable could be used to set a 
default debug level for the mapObj (this value would affect only the 
mapObj debug level but would not apply to layerObj debug level). As a 
mapfile is read, if it contains a different DEBUG level value then the 
value in the mapfile would take precedence, but at least that would 
allow you to get some debug output from the beginning of MapServer's 
execution.

What do you think?

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the mapserver-dev mailing list