[mapserver-commits] r11306 - in trunk/docs/en: mapfile optimization
svn at osgeo.org
svn at osgeo.org
Tue Mar 22 21:54:40 EDT 2011
Author: dmorissette
Date: 2011-03-22 18:54:40 -0700 (Tue, 22 Mar 2011)
New Revision: 11306
Modified:
trunk/docs/en/mapfile/map.txt
trunk/docs/en/optimization/debugging.txt
Log:
Document support for relative path in CONFIG MS_ERRORFILE (#2853)
Modified: trunk/docs/en/mapfile/map.txt
===================================================================
--- trunk/docs/en/mapfile/map.txt 2011-03-23 01:34:30 UTC (rev 11305)
+++ trunk/docs/en/mapfile/map.txt 2011-03-23 01:54:40 UTC (rev 11306)
@@ -46,9 +46,14 @@
MS_ERRORFILE [filename]
The CONFIG parameter can be used to write MapServer errors to a file
- (as of MapServer 5.0). A full path (absolute reference) is
- required, including the filename. For more on this see the DEBUG
- parameter below.
+ (as of MapServer 5.0). With MapServer 5.x, a full path (absolute
+ reference) is required, including the filename. Starting with MapServer
+ 6.0, a filename with relative path can be passed via this CONFIG
+ directive, in which case the filename is relative to the mapfile
+ location. Note that setting MS_ERRORFILE via an environment variable
+ always requires an absolute path since there would be no mapfile to
+ make the path relative to.
+ For more on this see the DEBUG parameter below.
MS_NONSQUARE [yes|no]
The CONFIG parameter can be used to allow non-square WMS requests.
Modified: trunk/docs/en/optimization/debugging.txt
===================================================================
--- trunk/docs/en/optimization/debugging.txt 2011-03-23 01:34:30 UTC (rev 11305)
+++ trunk/docs/en/optimization/debugging.txt 2011-03-23 01:54:40 UTC (rev 11306)
@@ -45,6 +45,12 @@
Full path and filename of a log file, to contain MapServer's debug messages. Any file extension
can be used, but *.log* or *.txt* is recommended. The file will be created, if it does not
already exist.
+
+ Starting with MapServer 6.0, a filename with relative path can be passed
+ via the CONFIG MS_ERRORFILE directive, in which case the filename is
+ relative to the mapfile location. Note that setting MS_ERRORFILE via an
+ environment variable always requires an absolute path since there would
+ be no mapfile to make the path relative to.
**stderr**
Use this to send MapServer's debug messages to the Web server's log file (i.e. "standard error").
@@ -653,4 +659,4 @@
using Microsoft IIS, debug output is routed to *stdout* (i.e. the browser), so be sure
to remove *DEBUG ON* statements if using IIS on a production server.
-.
\ No newline at end of file
+.
More information about the mapserver-commits
mailing list