1. Trying now: - macOS 13.0 - Tomcat 9.0.68 - geoserver-22-RC-war 2. The war contains license html files, but no top-level RUNNING or README instructions (not sure why) 3. Out of the box logs are going to webapps/geoserver/logs/geoserver.log 4. Changing to GEOSERVER_DEVELOPER_LOGGING.xml 5. So many TRACE logs it is very busy ...
So I cannot produce this problem locally Q: Is your tomcat running as different user? Does it have permission to create geoserver.log? Have you enabled tomcat sandboxing to prevent apps modifying webapps folder? -- Jody Garnett On Tue, 1 Nov 2022 at 00:56, Rahkonen Jukka < jukka.rahko...@maanmittauslaitos.fi> wrote: > Hi, > > > > I wonder why Geoserver does not write log into a file with version 2.22RC > that is installed on Linux from war. The default data_dir fallback is in > use and therefore the log file should be > '/var/lib/tomcat9/webapps/geoserver22/data/logs/geoserver.log'. But when we > start Geoserver and use it we can see only this one line in the UI About & > Status – GeoServer Logs: > > > > 01 Nov 09:00:30 CONFIG [geoserver.logging] - Log4j 2 configuration set to > GEOSERVER_DEVELOPER_LOGGING.xml > > > > Logging works as supposed with 2.22RC that I installed from bin-zin on > Windows. On the Linux server the logging is OK with pre-log4j 2 version > 2.20 but both 2.21 and 2.22RC create just that one line log. Any > suggestions about what to try next? The production data_dir will not be at > /var/lib/tomcat9/webapps/geoserver22/data/ but we use the defaults for fast > testing. > > > > -Jukka Rahkonen- > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users