[mapserver-users] Can't stop Mapserver 6.2.1 from gathering too much log into MS_ERRORFILE

Rahkonen Jukka jukka.rahkonen at mmmtike.fi
Mon Jun 3 07:20:02 PDT 2013


Hi,

Quoting myself "I have added DEBUG 0 on both MAP level and in each LAYER definition". Based on documentation I believe this means the same as DEBUG OFF but I made another trial with that now and it did not change anything. I was also adding some new layers from vector data and I can see that some debug into gets written into MS_ERRORFILE for those too.

I usually wait until someone confirms that what looks like a bug really is such a thing before writing a report, especially if I am on a foreign land as I am now with Linux. However, this one looks so much like a bug that I believe that I will file an issue soon.

-Jukka Rahkonen-


Stephen Woodbridge wrote:

> Do you have DEBUG turned on in your mapfile? Tuen this off and the messages
> should go away. If they do not them someone probably left some debug output
> in the code. And a bug report is needed.
> 
> -Steve
> 
> On 6/3/2013 9:23 AM, Rahkonen Jukka wrote:
> > Hi,
> >
> > We have compiled Mapserver 6.2.1 for Linux and the version info is as
> > follows
> >
> > MapServer version 6.2.1
> > OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=GD
> > SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV
> > SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
> > SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER
> > SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG
> INPUT=OGR
> > INPUT=GDAL INPUT=SHAPEFILE
> >
> > I do not understand why this version is printing whole lot of
> > information that I do not want into MS_ERRORFILE. I had originally no
> > DEBUG lines in my mapfiles and now I have added DEBUG 0 on both MAP
> > level and in each LAYER definition . Nothing helps and I keep on
> > getting new lines into the errorfile after each GetMap.  For example
> > with a GROUP layer which is combined from 11 scale dependent layers it
> > means 37 new lines after each request
> >
> > [Mon Jun  3 16:12:25 2013].799634 loadParams() QUERY_STRING:
> >
> map=/test.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=
> 1059&HEIG
> >
> HT=776&LAYERS=group&TRANSPARENT=TRUE&FORMAT=image%2Fpng&BBOX
> =-302742.3
> >
> 606628045,6634887.305484046,1741121.9462003412,8132563.133742593&SR
> S=E
> > PSG:3067&STYLES= [Mon Jun  3 16:12:25 2013].801140 msLoadMap(): 0.001s
> > [Mon Jun  3 16:12:25 2013].802506 msLayerIsVisible(): Skipping layer
> > (mml_taustakartta_2) because LAYER.MAXSCALE is too small for this MAP
> > scale [Mon Jun  3 16:12:25 2013].802522 msLayerIsVisible(): Skipping
> > layer (mml_taustakartta_3) because LAYER.MAXSCALE is too small for
> > this MAP scale [Mon Jun  3 16:12:25 2013].802528 msLayerIsVisible():
> > Skipping layer (mml_taustakartta_4) because LAYER.MAXSCALE is too
> > small for this MAP scale [Mon Jun  3 16:12:25 2013].802533
> > msLayerIsVisible(): Skipping layer (mml_taustakartta_5) because
> > LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> > 2013].802537 msLayerIsVisible(): Skipping layer (mml_taustakartta_6)
> > because LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3
> > 16:12:25 2013].802542 msLayerIsVisible(): Skipping layer
> > (mml_taustakartta_7) because LAYER.MAXSCALE is too small for this MAP
> > scale [Mon Jun  3 16:12:25 2013].802546 msLayerIsVisible(): Skipping
> > layer (mml_taustakartta_8) because LAYER.MAXSCALE is too small for
> > this MAP scale [Mon Jun  3 16:12:25 2013].802551 msLayerIsVisible():
> > Skipping layer (mml_taustakartta_9) because LAYER.MAXSCALE is too
> > small for this MAP scale [Mon Jun  3 16:12:25 2013].802555
> > msLayerIsVisible(): Skipping layer (mml_taustakartta_10) because
> > LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> > 2013].802560 msLayerIsVisible(): Skipping layer (mml_taustakartta_11)
> because LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802566 msLayerIsVisible(): Skipping layer (mml_taustakartta_2) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802571 msLayerIsVisible(): Skipping layer (mml_taustakartta_3) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802575 msLayerIsVisible(): Skipping layer (mml_taustakartta_4) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802580 msLayerIsVisible(): Skipping layer (mml_taustakartta_5) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802584 msLayerIsVisible(): Skipping layer (mml_taustakartta_6) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802589 msLayerIsVisible(): Skipping layer (mml_taustakartta_7) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802593 msLayerIsVisible(): Skipping layer (mml_taustakartta_8) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802598 msLayerIsVisible(): Skipping layer (mml_taustakartta_9) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802602 msLayerIsVisible(): Skipping layer (mml_taustakartta_10) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802607 msLayerIsVisible(): Skipping layer (mml_taustakartta_11) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802616 msDrawRasterLayerLow(mml_taustakartta_1): entering.
> > [Mon Jun  3 16:12:25 2013].802815 msResampleGDALToMap in effect:
> > cellsize = 1932.163743 [Mon Jun  3 16:12:25 2013].803881
> > msDrawGDAL(mml_taustakartta_1): using RAW_WINDOW=76 93 1652 1501,
> > dst=0,0,855,777 [Mon Jun  3 16:12:25 2013].803915
> > msDrawRasterLayerGDAL(): red,green,blue,alpha bands = 1,2,3,0 [Mon Jun
> > 3 16:12:25 2013].847533 msDrawMap(): Layer 0 (mml_taustakartta_1),
> > 0.045s [Mon Jun  3 16:12:25 2013].847558 msLayerIsVisible(): Skipping
> > layer (mml_taustakartta_2) because LAYER.MAXSCALE is too small for
> > this MAP scale [Mon Jun  3 16:12:25 2013].847564 msLayerIsVisible():
> > Skipping layer (mml_taustakartta_3) because LAYER.MAXSCALE is too
> > small for this MAP scale [Mon Jun  3 16:12:25 2013].847710
> > msLayerIsVisible(): Skipping layer (mml_taustakartta_4) because
> > LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> > 2013].847722 msLayerIsVisible(): Skipping layer (mml_taustakartta_5)
> > because LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3
> > 16:12:25 2013].847727 msLayerIsVisible(): Skipping layer
> > (mml_taustakartta_6) because LAYER.MAXSCALE is too small for this MAP
> > scale [Mon Jun  3 16:12:25 2013].847732 msLayerIsVisible(): Skipping
> > layer (mml_taustakartta_7) because LAYER.MAXSCALE is too small for
> > this MAP scale [Mon Jun  3 16:12:25 2013].847737 msLayerIsVisible():
> > Skipping layer (mml_taustakartta_8) because LAYER.MAXSCALE is too
> > small for this MAP scale [Mon Jun  3 16:12:25 2013].847741
> > msLayerIsVisible(): Skipping layer (mml_taustakartta_9) because
> > LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> > 2013].847746 msLayerIsVisible(): Skipping layer (mml_taustakartta_10)
> > because LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3
> > 16:12:25 2013].847751 msLayerIsVisible(): Skipping layer
> > (mml_taustakartta_11) because LAYER.MAXSCALE is too small for this MAP
> > scale
> >
> > Does this have something to do with Linux and compile options or is it perhaps
> a bug? I have never experienced anything similar on Windows with MS4W.
> >
> > -Jukka Rahkonen-
> >
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list