Opened 20 years ago

Closed 20 years ago

#859 closed defect (fixed)

add indication of support for debugging in version info

Reported by: pspencer@… Owned by: dmorissette
Priority: high Milestone:
Component: MapServer C Library Version: 4.2
Severity: normal Keywords:
Cc:

Description

when mapserver outputs its version string, it would be very useful to know
whether it has been built with debug support or not.  A simple DEBUG=ON|OFF
would suffice.  It should appear in all version strings from the cgi and
mapscript (and in the WMS/WFS server capabilities too?)

Change History (2)

comment:1 by dmorissette, 20 years ago

Status: newassigned
We may needmore than just DEBUG=ON|OFF, there may be various debug options down
the road, so I'll try to keep room for that. 

What I'll add for now is DEBUG=MSDEBUG if MapServer was compiled with
-DENABLE_STDERR_DEBUG which enables the msDebug() function to send a bunch of
information to stderr.

comment:2 by dmorissette, 20 years ago

Resolution: fixed
Status: assignedclosed
Fixed, in 4.3 CVS only.

$ ./mapserv -v
MapServer version 4.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR
INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG

Note: See TracTickets for help on using tickets.