Great! Thanks alot! -----Original Message----- From: Bart van den Eijnden (OSGIS) [mailto:[EMAIL PROTECTED] Sent: March 10, 2006 10:18 AM To: Sears, Jeremy Cc: [email protected] 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
