diff --git a/code/common/service/src/main/resources/log4j2.properties b/code/common/service/src/main/resources/log4j2.properties index 96c73ea0..badab181 100644 --- a/code/common/service/src/main/resources/log4j2.properties +++ b/code/common/service/src/main/resources/log4j2.properties @@ -5,11 +5,9 @@ appender.console.name = LogToConsole appender.console.layout.type = PatternLayout appender.console.layout.pattern = %d{HH:mm:ss,SSS} %style{%-8markerSimpleName}{FG_Cyan} %highlight{%-5level}{FATAL=red, ERROR=red, WARN=yellow} %-24t %-20c{1} -- %msg{nolookups}%n appender.console.filter.process.type = MarkerFilter -appender.console.filter.process.onMismatch=ACCEPT appender.console.filter.process.onMatch=DENY appender.console.filter.process.marker=PROCESS appender.console.filter.http.type = MarkerFilter -appender.console.filter.http.onMismatch=ACCEPT appender.console.filter.http.onMatch=DENY appender.console.filter.http.marker=HTTP appender.processconsole.type = Console @@ -18,7 +16,6 @@ appender.processconsole.layout.type = PatternLayout appender.processconsole.layout.pattern = %msg{nolookups}%n appender.processconsole.filter.process.type = MarkerFilter appender.processconsole.filter.process.onMismatch=DENY -appender.processconsole.filter.process.onMatch=ACCEPT appender.processconsole.filter.process.marker=PROCESS appender.rolling.type = RollingFile appender.rolling.name = RollingFile @@ -32,15 +29,15 @@ appender.rolling.policies.size.size=10MB appender.rolling.strategy.type = DefaultRolloverStrategy appender.rolling.strategy.max = 10 appender.rolling.filter.query.type = MarkerFilter -appender.rolling.filter.query.onMismatch=ACCEPT +appender.rolling.filter.query.onMismatch=NEUTRAL appender.rolling.filter.query.onMatch=DENY appender.rolling.filter.query.marker=QUERY appender.rolling.filter.http.type = MarkerFilter -appender.rolling.filter.http.onMismatch=ACCEPT +appender.rolling.filter.http.onMismatch=NEUTRAL appender.rolling.filter.http.onMatch=DENY appender.rolling.filter.http.marker=HTTP appender.rolling.filter.process.type = MarkerFilter -appender.rolling.filter.process.onMismatch=ACCEPT +appender.rolling.filter.process.onMismatch=NEUTRAL appender.rolling.filter.process.onMatch=DENY appender.rolling.filter.process.marker=PROCESS appender.process.type = RollingFile @@ -56,7 +53,6 @@ appender.process.strategy.type = DefaultRolloverStrategy appender.process.strategy.max = 10 appender.process.filter.process.type = MarkerFilter appender.process.filter.process.onMismatch=DENY -appender.process.filter.process.onMatch=ACCEPT appender.process.filter.process.marker=PROCESS rootLogger.level = info rootLogger.appenderRef.console.ref = LogToConsole