Should I submit a bug report, or was this done intentionally?
On 20/03/2025 14:56, Jörg Thomsen (WhereGroup) via MapServer-users wrote:
Hi Jan,
I guess the mapserver.conf is not used with mapscript.
The configuration file is loaded by the MapServer CGI at runtime and
provides site-level configuration for all mapfiles.
Jörg
Am 20.03.25 um 14:51 schrieb Jan Hartmann via MapServer-users:
Hi,
In my mapserver.conf file I have:
MS_DEBUGLEVEL "5"
MS_ERRORFILE "/var/log/apache2/error.log_mapserver"
When calling /cgi-bin/mapserv?map=test.map, I get errors both in the
regular apache error log and in the mapserver error log. However,
when I use the same map in PHP-MapScript ($oMap = new
mapObj("test.map), only the apache error log gets updated. When I
configure the mapfile itself both logs get updated:
DEBUG 5
CONFIG "MS_ERRORFILE" "/var/log/apache2/error.log_mapserver"
Is this a bug? I would like to enable debugging for all the Mapscript
files in my applications.
Jan
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users