Jukka: To troubleshoot logging I have our logging init code using the same logger as Log4J configuration:
-Dorg.apache.logging.log4j.simplelog.StatusLogger.level=DEBUG Or change the start of your logging profile to: <Configuration status="debug"> Try starting with that and maybe we can learn more? Jody On Tue, Nov 1, 2022 at 12:56 AM 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 > -- -- Jody Garnett
_______________________________________________ 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