error log?

Sears, Jeremy Jeremy.Sears at CCRS.NRCAN.GC.CA
Fri Mar 10 10:19:45 EST 2006


Great!
Thanks alot!

-----Original Message-----
From: Bart van den Eijnden (OSGIS) [mailto:bartvde at xs4all.nl]
Sent: March 10, 2006 10:18 AM
To: Sears, Jeremy
Cc: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] error log?


Hi Jeremy,

make sure Mapserver is compiled with MSDEBUG (check with mapserv -v).

Then define an environment variable called MS_ERRORFILE, if you are 
using Apache add the following to the Apache conf:

SetEnv "MS_ERRORFILE" "stderr"

and restart Apache. If you are using IIS, define a system env. variable 
and restart the system.

Mapserver will then log in the webserver's error log. You could also 
specify a file instead of stderr, but then make sure the webserver user 
has enough rights on this file.

Best regards,
Bart

Sears, Jeremy wrote:

>Hi All,
>Can anyone tell me if and how Mapserver logs errors?
>Im tryin to debug an application and having a report of what mapserver is
>choking on would make things much smoother!
>
>Thanks
>Jeremy
>
>
>  
>


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the mapserver-users mailing list