Debug Logging

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Thu Jan 27 10:32:44 EST 2005


Also, I think there is a bug in the debug logging or at least a
documentation problem on MS 4.4.1

DEBUG ON
In the map section, then layer timing information goes to stderr which
ends up in the webserver error.log. You can place DEBUG ON in LAYER
block(s) but it seems that this sets the global flag and you get the
same out as if you put it once in the map section, (ie: you don't get
more info by placing it in the LAYER block.

LOG "/path/to/log_file.log"
then only a single line gets written to the log file for each map
regardless of the setting for DEBUG

-Steve W.

Frank Warmerdam wrote:
> On Wed, 26 Jan 2005 19:25:28 -0500, Abe Gillespie <agillesp at vt.edu> wrote:
>
>>Would someone help me get logging working?  I remember there was
>>something on this list about bit I can't seem to locate it.
>>
>>I've got "DEBUG on" for a LAYER and the MAP and I have the LOG path in
>>the WEB.  But I'm getting nothing.
>>
>>I would appreciate instructions for both Windows and Linux but am
>>working with Windows right now.
>
>
> Abe,
>
> Does your "mapserv -v" output report DEBUG=MSDEBUG?  If not, I don't
> think output debug messages is possible.   I would add that in at least
> some circumstances debug messages go to the error_log file.
>
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>



More information about the mapserver-users mailing list