-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#622 doc(how to use external logback config)
- Loading branch information
1 parent
7c36ac6
commit 63c2556
Showing
4 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
# which filesystem to use: local or hdfs | ||
outlier: | ||
baseUrl: https://spatial-test.ala.org.au/ws/ | ||
runner: DirectRunner |
42 changes: 42 additions & 0 deletions
42
livingatlas/pipelines/src/main/resources/log4j-colorized.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Set everything to be logged to the console | ||
log4j.rootCategory=INFO, console | ||
log4j.appender.console=org.apache.log4j.ConsoleAppender | ||
log4j.appender.console.target=System.out | ||
log4j.appender.console.layout=com.jcabi.log.MulticolorLayout | ||
# https://en.wikipedia.org/wiki/ANSI_escape_code#Colors | ||
log4j.appender.console.layout.Levels=INFO:0;32,WARN:0;33 | ||
log4j.appender.console.layout.Colors=black:90 | ||
# Supported colors: red, blue, yellow, cyan, black, and white. | ||
log4j.appender.console.layout.ConversionPattern=%d{dd-MMM} %color-black{%d{HH:mm:ss}} [%color-magenta{%X{step}}] [%color-blue{%X{datasetId}}] [%color{%p}] %color-cyan{%c{1}}: %color-blue{%m%n} | ||
# Settings to quiet third party logs that are too verbose | ||
log4j.logger.au.org.ala=INFO | ||
log4j.logger.org.spark-project.jetty=WARN | ||
log4j.logger.org.gbif.common.parsers=ERROR | ||
log4j.logger.org.gbif.geocode.api.cache=ERROR | ||
log4j.logger.org.gbif.geocode.api.cache.GeocodeBitmapCache=ERROR | ||
log4j.logger.org.gbif.pipelines.core.parsers.location.cache.GeocodeBitmapCache=ERROR | ||
log4j.logger.org.spark_project.jetty.servlet.ServletContextHandler=ERROR | ||
log4j.logger.org.eclipse.jetty.server.handler.ContextHandler=ERROR | ||
log4j.logger.org.gbif.dwc.terms.TermFactory=ERROR | ||
log4j.logger.org.gbif.vocabulary.lookup=ERROR | ||
log4j.logger.org.apache.beam.runners.spark.translation=ERROR | ||
log4j.logger.ServletContextHandler=ERROR | ||
project.jetty.util.component.AbstractLifeCycle=ERROR | ||
log4j.logger.org.apache.spark=ERROR | ||
log4j.logger.org.eclipse.jetty=ERROR | ||
log4j.logger.org.apache.spark.repl.SparkIMain$exprTyper=ERROR | ||
log4j.logger.org.apache.spark.repl.SparkILoop$SparkILoopInterpreter=ERROR | ||
log4j.logger.org.apache.parquet=ERROR | ||
log4j.logger.parquet=ERROR | ||
log4j.logger.org.apache.beam=ERROR | ||
# SPARK-9183: Settings to avoid annoying messages when looking up | ||
# nonexistent UDFs in SparkSQL with Hive support | ||
log4j.logger.org.apache.hadoop.hive.metastore.RetryingHMSHandler=FATAL | ||
log4j.logger.org.apache.hadoop.hive.ql.exec.FunctionRegistry=ERROR | ||
|
||
|
||
log4j.logger.org.apache.spark.executor.Executor=ERROR | ||
log4j.logger.org.apache.spark.storage.memory.MemoryStore=ERROR | ||
log4j.logger.org.apache.spark.storage.BlockManager=ERROR | ||
log4j.logger.org.apache.spark.executor=ERROR | ||
log4j.logger.org.apache.spark.storage=ERROR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
log4j.rootLogger=DEBUG, consoleAppender | ||
|
||
log4j.appender.consoleAppender=org.apache.log4j.ConsoleAppender | ||
log4j.appender.consoleAppender.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.consoleAppender.layout.ConversionPattern=[%t] %-5p %c %x - %m%n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters