Where is the mapserver log file?
Up to table of contentsHow can I tell mapserv where to put a log file so that I can diagnose problems?
Answer:
See: Neapolis Reference
regarding LOG feature inside WEB section of .map file. See also EMPTY and ERROR features.
WEB Object ...(snip) .. EMPTY optional URL to forward users to if a query fails. If not defined the value for ERROR is used. Value: [url] ERROR optional, however highly suggested! URL to forward users to if an error occurs. Ugly old MapServer error messages will appear if this is not defined. Values: [url] LOG optional File to log MapServer activity in. Must be writable by the user the web server is running as. Value: [filename]
This FAQ applies to: Any version.