deegree / deegree3

Official deegree repository providing geospatial core libraries, data access and advanced OGC web service implementations
https://www.deegree.org
GNU Lesser General Public License v2.1
146 stars 99 forks source link

Enhance documentation for logging configuration #1251

Open tfr42 opened 2 years ago

tfr42 commented 2 years ago

Explaination is required for https://github.com/deegree/deegree3/blob/master/deegree-services/deegree-webservices/src/main/resources/log4j2.properties#L44

rootLogger.level = ${log4j.level}
rootLogger.appenderRefs = stdout
rootLogger.appenderRef.stdout.ref = STDOUT

"Every configuration must have a root logger. If one is not configured the default root LoggerConfig, which has a level of ERROR and has a Console appender attached, will be used. The main differences between the root logger and other loggers are

https://logging.apache.org/log4j/2.x/manual/configuration.html

tfr42 commented 2 years ago

Add logger names and configuration examples for log4j2 to documentation as in https://github.com/deegree/deegree3/blob/deegree-3.4.20/deegree-services/deegree-webservices/src/main/resources/log4j.properties