in your map file put this after the map section start CONFIG MS_ERRORFILE 'E:\\inetpub\\wwwroot\\tmp\\_gmap_dev.log' CONFIG PROJ_DEBUG "ON" make sure that that directory is writeable - this works on windows and should work on linux (with the latest mapserver anyway)