[mapserver-dev] Re: Problem with projectionObj

Daniel Morissette dmorissette at mapgears.com
Tue Oct 4 11:21:42 EDT 2011


On 11-10-04 02:54 AM, Itacasoft wrote:
> More information about this bug. Putting DEBUG 5 does create a log file,
> but always empty very strange. I thought about a permission problem, but
> setting the application pool identity to Local System did not resolve.
> Tried IIS 6.0 + Windows XP Pro, and here it works! So, may it be a IIS
> configuration issue?

Could it be that you have multiple values of MS_ERRORFILE set in 
environment variables and in your mapfile(s)?

For instance, if you set MS_ERRORFILE in an environment variable, then 
this value will be used for logging activity until the mapfile is 
parsed, and then after parsing the value set via CONFIG MSERRORFILE will 
override the previous value, and then logging may go to a different 
file, potentially leaving the first log file empty.

It is also possible to get an empty log file if the mapserv process 
crashes before the output buffer is flushed.

-- 
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000



More information about the mapserver-dev mailing list