-
-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable use of LOG directive in MapScript #709
Comments
Author: fwarmerdam
|
Author: sdlime
|
Author: dmorissette
|
Author: dmorissette
|
Author: dmorissette
|
Author: dmorissette
|
Author: dmorissette
|
Author: dmorissette |
Author: dmorissette |
Reporter: dmorissette
Date: 2004/06/02 - 14:29
Trac URL: http://trac.osgeo.org/mapserver/ticket/709
In the current version of MapServer, the LOG directive is handled only inside
the mapserv CGI and has no effect in MapScript. We have lots of code generating
msDebug() output to stderr when debug is enabled, but that requires a debug
build and is a pain to use in some circumstances.
I would like to change things so that msDebug() output is set to the file
specified by WEB/LOG if it is set, and to stderr if WEB/LOG is not set. Plus all
msSetError() calls should be logged to that same logfile in MapScript just like
with the mapserv CGI.
Any comments/objections before I make that change? (Other than saying that we
should have done that a few years ago!)
The text was updated successfully, but these errors were encountered: