Jukka Rahkonen (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A883da887-d047-4a0a-8aab-3c5d883c4f43
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiOTAwY2E3ZDY5ODk0NGRhMmI0MWNjY2QwMTIxMDBlMGEiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-10744?atlOrigin=eyJpIjoiOTAwY2E3ZDY5ODk0NGRhMmI0MWNjY2QwMTIxMDBlMGEiLCJwIjoiaiJ9
) GEOS-10744 (
https://osgeo-org.atlassian.net/browse/GEOS-10744?atlOrigin=eyJpIjoiOTAwY2E3ZDY5ODk0NGRhMmI0MWNjY2QwMTIxMDBlMGEiLCJwIjoiaiJ9
) GeoServer 2.22RC does not write log into the logfile (
https://osgeo-org.atlassian.net/browse/GEOS-10744?atlOrigin=eyJpIjoiOTAwY2E3ZDY5ODk0NGRhMmI0MWNjY2QwMTIxMDBlMGEiLCJwIjoiaiJ9
)
Issue Type: Bug Affects Versions: 2.22-RC Assignee: Unassigned Created:
09/Nov/22 6:48 PM Priority: Medium Reporter: Jukka Rahkonen (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A883da887-d047-4a0a-8aab-3c5d883c4f43
)
Our environment is as follows:
* Red Hat Enterprise Linux Server release 7.8 (Maipo)
* Kernel Linux 3.10.0-1127.el7.x86_64
* Apache Tomcat/9.0.62 (also tested with Apache Tomcat/7.0.76)
* java-1.8.0-openjdk-1.8.0.262.b10-0.el7_8.x86_64
* geoserver-22-RC-war
Geoserver is installed with a war file and the log file should go into path
/var/lib/tomcat9/webapps/geoserver22/data/logs/geoserver.log
Almost nothing is logged into the log file but it still has one line that seems
to prove that Geoserver knows where it should write the log.
01 Nov 08:39:53 CONFIG [geoserver.logging] - Log4j 2 configuration set to
DEFAULT_LOGGING.xml
Since that nothing gets logged when Geoserver is used. Only if we change the
logging level then a couple of new lines are added like this:
01 Nov 09:00:30 CONFIG [geoserver.logging] - Log4j 2 configuration set to
GEOSERVER_DEVELOPER_LOGGING.xml
01 Nov 09:00:30 DEBUG [geoserver.logging] - Logging output set to file
'/var/lib/tomcat9/webapps/geoserver22/data/logs/geoserver.log'
Unfortunately even we have tried different logging levels there is nothing else
in the log file despite these messages.
The issue happens also with GS 2.21. The version GS 2.20 that is using the old
Log4j logging does write logs.
We managed to find an almost identical RedHat that does write log also with GS
2.22RC. It has another Linux kernel if it could matter.
* Red Hat Enterprise Linux Server release 7.8 (Maipo)
* Linux 3.10.0-1127.13.1.el7.x86_64
(
https://osgeo-org.atlassian.net/browse/GEOS-10744#add-comment?atlOrigin=eyJpIjoiOTAwY2E3ZDY5ODk0NGRhMmI0MWNjY2QwMTIxMDBlMGEiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-10744#add-comment?atlOrigin=eyJpIjoiOTAwY2E3ZDY5ODk0NGRhMmI0MWNjY2QwMTIxMDBlMGEiLCJwIjoiaiJ9
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100210-
sha1:ffe1a02 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel