[mapserver-commits] r11286 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Sun Mar 20 14:38:37 EDT 2011


Author: warmerdam
Date: 2011-03-20 11:38:37 -0700 (Sun, 20 Mar 2011)
New Revision: 11286

Modified:
   trunk/mapserver/mapfile.c
Log:
turn fprintf to stderr into a debug message as was apparently intended

Modified: trunk/mapserver/mapfile.c
===================================================================
--- trunk/mapserver/mapfile.c	2011-03-19 21:53:46 UTC (rev 11285)
+++ trunk/mapserver/mapfile.c	2011-03-20 18:38:37 UTC (rev 11286)
@@ -5953,7 +5953,9 @@
 
       if(!layerNeedsSubstitutions(layer, tag)) continue;
 
-      fprintf(stderr, "Layer %s, tag %s...\n", layer->name, tag);
+      if( layer->debug >= MS_DEBUGLEVEL_V ) 
+          msDebug( "  runtime substitution - Layer %s, tag %s...\n", 
+                   layer->name, tag);
 
       if(msValidateParameter(values[i], msLookupHashTable(&(layer->validation), names[i]), msLookupHashTable(&(layer->metadata), validation_pattern_key), msLookupHashTable(&(map->web.validation), names[i]), NULL) == MS_SUCCESS) {
         layerSubstituteString(layer, tag, values[i]);



More information about the mapserver-commits mailing list