Skip to content

Commit

Permalink
CLOUD-74: Access minion logs (#3043)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattixtech committed Jun 23, 2020
1 parent 0a3c433 commit 5aa1ccf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions container/shared/src/main/resources/etc/org.ops4j.pax.logging.cfg
Expand Up @@ -40,6 +40,11 @@ log4j2.rootLogger.appenderRef.Console.ref = Console
log4j2.rootLogger.appenderRef.Console.filter.threshold.type = ThresholdFilter
log4j2.rootLogger.appenderRef.Console.filter.threshold.level = ${karaf.log.console:-OFF}

# Logging to be programmatically enabled when running in a container, disabled by default
log4j2.rootLogger.appenderRef.container.ref = container
log4j2.rootLogger.appenderRef.container.filter.threshold.type = ThresholdFilter
log4j2.rootLogger.appenderRef.container.filter.threshold.level = ${karaf.log.container.threshold:-OFF}

# Loggers configuration

# SSHD logger
Expand Down Expand Up @@ -98,6 +103,12 @@ log4j2.appender.osgi.type = PaxOsgi
log4j2.appender.osgi.name = PaxOsgi
log4j2.appender.osgi.filter = *

# Console appender to use when running in a container writing directly to stdout
log4j2.appender.container.type = Console
log4j2.appender.container.name = container
log4j2.appender.container.layout.type = ${karaf.log.container.layout:-PatternLayout}
log4j2.appender.container.layout.pattern = ${karaf.log.container.pattern}

# help with identification of maven-related problems with pax-url-aether
#log4j2.logger.aether.name = shaded.org.eclipse.aether
#log4j2.logger.aether.level = TRACE
Expand Down

0 comments on commit 5aa1ccf

Please sign in to comment.