Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Double Log Output #102

Merged
merged 2 commits into from
May 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cws-installer/src/main/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# 'status' refers to log messages from Log4j2 itself
status = warn


# console appender
appender.console.type = Console
appender.console.name = STDOUT
Expand All @@ -24,21 +25,25 @@ appender.console.layout.pattern = INSTALLER: %d{ISO8601}{UTC} %-5p [%20.20t] %30
# Spring Framework
logger.springframework.name = org.springframework
logger.springframework.level = info
logger.springframework.additivity = false
logger.springframework.appenderRef.stdout.ref = STDOUT

# CWS
logger.cws.name = jpl.cws
logger.cws.level = info
logger.cws.additivity = false
logger.cws.appenderRef.stdout.ref = STDOUT

# Javax
logger.javax.name = javax.activation.level
logger.javax.level = info
logger.javax.additivity = false
logger.javax.appenderRef.stdout.ref = STDOUT

# ActiveMQ
logger.activemq.name = org.apache.activemq.transport
logger.activemq.level = info
logger.activemq.additivity = false
logger.activemq.appenderRef.stdout.ref = STDOUT

# ROOT
Expand Down
6 changes: 6 additions & 0 deletions install/tomcat_lib/log4j2-tomcat.properties
Original file line number Diff line number Diff line change
Expand Up @@ -43,31 +43,37 @@ appender.rolling.strategy.fileIndex = nomax
# Camunda
logger.camunda.name = org.camunda
logger.camunda.level = info
logger.camunda.additivity = false
logger.camunda.appenderRef.stdout.ref = RollingFile

# Camunda Engine
logger.camundaEngine.name = org.camunda.bpmn.engine
logger.camundaEngine.level = warn
logger.camundaEngine.additivity = false
logger.camundaEngine.appenderRef.stdout.ref = RollingFile

# Spring Framework
logger.springframework.name = org.springframework
logger.springframework.level = info
logger.springframework.additivity = false
logger.springframework.appenderRef.stdout.ref = RollingFile

# CWS
logger.cws.name = jpl.cws
logger.cws.level = debug
logger.cws.additivity = false
logger.cws.appenderRef.stdout.ref = RollingFile

# Javax
logger.javax.name = javax.activation.level
logger.javax.level = info
logger.javax.additivity = false
logger.javax.appenderRef.stdout.ref = RollingFile

# ActiveMQ
logger.activemq.name = org.apache.activemq.transport
logger.activemq.level = info
logger.activemq.additivity = false
logger.activemq.appenderRef.stdout.ref = RollingFile

# ROOT
Expand Down