Skip to content

Commit

Permalink
deegree#976 - changed log directory to log.dir or logs, log to file a…
Browse files Browse the repository at this point in the history
…nd console
  • Loading branch information
lgoltz committed Dec 15, 2021
1 parent e48d311 commit 64da613
Showing 1 changed file with 17 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
status = error
dest = err
name = deegreeLogConfig

property.filename = deegree.log
property.logpath = ${sys:java.io.tmpdir:-/var/tmp/}
property.logpath = ${sys:log.dir:-logs}

filter.threshold.type = ThresholdFilter
filter.threshold.level = debug
appenders = console, rolling

appender.console.type = Console
appender.console.name = STDOUT
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %m%n
appender.console.layout.pattern = %d %p %C{1.} [%t] %m%n
appender.console.filter.threshold.type = ThresholdFilter
appender.console.filter.threshold.level = error
appender.console.filter.threshold.level = info

appender.rolling.type = RollingFile
appender.rolling.name = RollingFile
Expand All @@ -30,10 +28,19 @@ appender.rolling.policies.size.size=100MB
appender.rolling.strategy.type = DefaultRolloverStrategy
appender.rolling.strategy.max = 10

logger.rolling.name = org.deegree
logger.rolling.level = info
logger.rolling.additivity = false
logger.rolling.appenderRef.rolling.ref = RollingFile
loggers = org.deegree, org.reflections

logger.org.deegree.name = org.deegree
logger.org.deegree.level = info
logger.org.deegree.additivity = false
logger.org.deegree.appenderRef.rolling.ref = RollingFile
logger.org.deegree.appenderRef.stdout.ref = STDOUT

logger.org.reflections.name = org.reflections
logger.org.reflections.level = warn
logger.org.reflections.appenderRef.rolling.ref = RollingFile
logger.org.reflections.appenderRef.stdout.ref = STDOUT

rootLogger.level = info
rootLogger.appenderRefs = stdout
rootLogger.appenderRef.stdout.ref = STDOUT

0 comments on commit 64da613

Please sign in to comment.