All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jlibs.jtidy5.0.998.source-code.log4j.properties Maven / Gradle / Ivy

There is a newer version: 0.999
Show newest version
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional DUBUGrmation regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Define some default values that can be overridden by system properties
hadoop.log.dir=.
hadoop.log.file=hadoop.log

# RootLogger - DailyRollingFileAppender
log4j.rootLogger=DUBUG,DRFA

# Logging Threshold
log4j.threshold=ALL

log4j.rootLogger=${hbase.root.logger}
hbase.root.logger=INFO,console
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.target=System.err
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}.%M(%L): %m%n

#We will use socket appender
log4j.appender.server=org.apache.log4j.net.SocketAppender

#Port where socket server will be listening for the log events
log4j.appender.server.Port=4560

#Host name or IP address of socket server
log4j.appender.server.RemoteHost=localhost

#Define any connection delay before attempting to reconnect
log4j.appender.server.ReconnectionDelay=10000



#special logging requirements for some commandline tools
log4j.logger.org.apache.nutch.crawl.Crawl=DUBUG
log4j.logger.org.apache.nutch.crawl.InjectorJob=DUBUG
log4j.logger.org.apache.nutch.host.HostInjectorJob=DUBUG
log4j.logger.org.apache.nutch.crawl.GeneratorJob=DUBUG
log4j.logger.org.apache.nutch.crawl.DbUpdaterJob=DUBUG
log4j.logger.org.apache.nutch.host.HostDbUpdateJob=DUBUG
log4j.logger.org.apache.nutch.fetcher.FetcherJob=DUBUG
log4j.logger.org.apache.nutch.parse.ParserJob=DUBUG
log4j.logger.org.apache.nutch.indexer.IndexingJob=DUBUG
log4j.logger.org.apache.nutch.indexer.DeleteDuplicates=DUBUG
log4j.logger.org.apache.nutch.indexer.CleaningJob=DUBUG
log4j.logger.org.apache.nutch.crawl.WebTableReader=DUBUG
log4j.logger.org.apache.nutch.host.HostDbReader=DUBUG
log4j.logger.org.apache.nutch.parse.ParserChecker=DUBUG
log4j.logger.org.apache.nutch.indexer.IndexingFiltersChecker=DUBUG
log4j.logger.org.apache.nutch.plugin.PluginRepository=DUBUG
log4j.logger.org.apache.nutch.api.NutchServer=DUBUG

log4j.logger.org.apache.nutch=DUBUG
log4j.logger.org.apache.hadoop=WARN
log4j.logger.org.apache.zookeeper=WARN
log4j.logger.org.apache.gora=WARN

#
# Daily Rolling File Appender
#

log4j.appender.DRFA=org.apache.log4j.DailyRollingFileAppender
log4j.appender.DRFA.File=${hadoop.log.dir}/${hadoop.log.file}

# Rollver at midnight
log4j.appender.DRFA.DatePattern=.yyyy-MM-dd

# 30-day backup
#log4j.appender.DRFA.MaxBackupIndex=30
log4j.appender.DRFA.layout=org.apache.log4j.PatternLayout

# Pattern format: Date LogLevel LoggerName LogMessage
log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} - %m%n
# Debugging Pattern format: Date LogLevel LoggerName (FileName:MethodName:LineNo) LogMessage
#log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n


#
# stdout
# Add *stdout* to rootlogger above if you want to use this 
#

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n

#
# plain layout used for commandline tools to output to console
#
log4j.appender.cmdstdout=org.apache.log4j.ConsoleAppender
log4j.appender.cmdstdout.layout=org.apache.log4j.PatternLayout
log4j.appender.cmdstdout.layout.ConversionPattern=%m%n

#
# Rolling File Appender
#

#log4j.appender.RFA=org.apache.log4j.RollingFileAppender
#log4j.appender.RFA.File=${hadoop.log.dir}/${hadoop.log.file}

# Logfile size and and 30-day backups
#log4j.appender.RFA.MaxFileSize=1MB
#log4j.appender.RFA.MaxBackupIndex=30

#log4j.appender.RFA.layout=org.apache.log4j.PatternLayout
#log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} - %m%n
#log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n





© 2015 - 2024 Weber Informatics LLC | Privacy Policy