mapserver 4.10.2 and debug informations

rich.fromm nospam420 at YAHOO.COM
Mon Feb 4 17:00:06 EST 2008


patrice canonici wrote:
> 
> MAP bloc : DEBUG ON
> 
> and, is it possible to have a more verbose log ?  with debug/warn/...
> informations ?
> 

i don't know about 4.10.2, but for 5.0.0, besides ON, the DEBUG directive
can also take a number, up to 5.  it appears that ON is the equivalent of 1.

from maperror.h (in mapserver 5.0.0):

/*====================================================================
 *   mapdebug.c (See also MS-RFC-28)
 *====================================================================*/

typedef enum { MS_DEBUGLEVEL_ERRORSONLY = 0,  /* DEBUG OFF, log fatal errors
*/
               MS_DEBUGLEVEL_DEBUG      = 1,  /* DEBUG ON */
               MS_DEBUGLEVEL_TUNING     = 2,  /* Reports timing info */
               MS_DEBUGLEVEL_V          = 3,  /* Verbose */
               MS_DEBUGLEVEL_VV         = 4,  /* Very verbose */
               MS_DEBUGLEVEL_VVV        = 5   /* Very very verbose */
} debugLevel;

nevertheless, you may find that even the most verbose debugging doesn't
contain all of the information that you are looking for.

- rich

-- 
View this message in context: http://www.nabble.com/mapserver-4.10.2-and-debug-informations-tp15269744p15278508.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list