Hey guys,
I have 3 Instances of Geoserver on 3 different tomcat servlets (same VM)
with same CATALINA_HOME and CATALINA_BASEs. Each Tomcat runs different
JAVA processes.
All the Geoserver Instances share the GEOSERVER_DATA_DIR which is
externalised.
Running: *Geoserver 2.11.2 on Apache Tomcat/8.5.13 Ubuntu 16.04 Xenial*
I have set the GEOSERVER_LOG_LOCATION in the JVM processes for each
geoserver as GEOSERVER_LOG_LOCATION=/path/to/geoserver1.log,
/path/to/geoserver2.log and /path/to/geoserver3.log.
This is following failed attempts to set it as a Context parameter in the
../web.xml fro each Geoserver.
However, this does not Override the *logging.xml *configuration. All the
Geoserver Instances emits logs in the respective Logfiles up to this point
then stops;
2017-10-04 14:13:43,872 DEBUG [jdbcconfig.config] - Checking Logging
configuration in case it neeeds to be reinitialized
2017-10-04 14:13:43,872 DEBUG [jdbcconfig.config] - =/= getId (logging.xml:
null, JDBCConfig: LoggingInfo.global)
2017-10-04 14:13:43,872 DEBUG [jdbcconfig.config] - === getLevel
(logging.xml: VERBOSE_LOGGING.properties, JDBCConfig:
VERBOSE_LOGGING.properties)
2017-10-04 14:13:43,872 DEBUG [jdbcconfig.config] - =/= getLocation
(logging.xml: /media/ros-logs/gs3/geoserver.log, JDBCConfig:
/media/ros-logs/gs3/gs41.log)
2017-10-04 14:13:43,872 DEBUG [jdbcconfig.config] - === isStdOutLogging
(logging.xml: false, JDBCConfig: false)
2017-10-04 14:13:43,872 WARN [jdbcconfig.config] - Start up logging config
does not match that in JDBCConfig. Reconfiguring now. Logs preceding this
message may reflect a different configuration.
2017-10-04 14:13:43,872 DEBUG [geoserver.logging] - CONFIGURING GEOSERVER
LOGGING -------------------------
2017-10-04 14:13:43,873 DEBUG [geoserver.logging] - GeoServer logging
profile 'VERBOSE_LOGGING.properties' enabled.
No more logs are emitted after this line. Sometimes the logs are mixed up
in one of the Logfile, including even those that are not in the same VM.
What should I change?
Kind regards,
Steve Omondi
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users