enable logfile on IIS [2]

Chip Taylor work at XWB.COM
Wed May 10 18:03:37 EDT 2006


Make sure your directory is read-write enabled in IIS and the system.

Chip Taylor
Prepared Response, Inc

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Emil Zegers
Sent: Wednesday, May 10, 2006 2:59 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] enable logfile on IIS [2]

Hello Huub,

Logging with MapServer under IIS is possible.

It works with the WEB LOG parameter you described so there is probably a
specific reason on your system causing trouble.

Have you tried putting an empty file 'mapserver.log' in 'd:/temp' before
starting your app?

Have you checked the Windows event log files?

Is the disk 'd:' a 'real disk' disk and not a mapped one? What file system
do you use on 'd:'?

A lot of questions and not much of a clue, I know, but maybe it will help...

Regards,

Emil


-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On
Behalf Of Huub Fleuren
Sent: woensdag 10 mei 2006 23:35
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] enable logfile on IIS [2]


Hi List

Simple question
Is it possible to get a mapserver.log file on a IIS system?

I need it, because the mapserver doesn't handle a sld_url not good on
the production server (iis required) (it works beautifully for the
testserver)

	By the way: i don't see any temporary SLD XMLs anymore in
	mapserver 4.8.
	Are they deleted automatically or not used anymore?


--


I tried everything again (see my previous mail) with the mapserv in the
latest ms4w.



MapServer version 4.8.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS
INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG


in the mapfile

MAP
WEB
       IMAGEPATH "d:/temp/"
       IMAGEURL "/temp/"
       log "d:/temp/mapserver.log"
END
    DEBUG ON

LAYER
DEBUG ON

(....)

END

(the imagePATH and imageURL work, on CONNECTIONTYPE WMS layers)


and:

SET MS_ERRORFILE=d:/temp/mapserver.log
(via My Computer Manage + reboot of the machine)
i tried
ms_errorfile=d:/temp/mapserver.log
ms_errorfile=d:\temp\mapserver.log

I gave  the IUSR fullcontrol rights on d:\temp

No mapserver.log what is missing here? Is it possible?


Thanks again for any tips.


Regards, Huub



More information about the mapserver-users mailing list