blob: fc5d45c67e43c2a98e70f3deac2985fec607d5f2 [file] [log] [blame]
Chengyu Fancfb80c72015-10-19 16:50:04 -06001# Please refer to https://logging.apache.org/log4cxx/usage.html for option details
Chengyu Fan71b712b2015-09-09 22:13:56 -06002
Chengyu Fancfb80c72015-10-19 16:50:04 -06003log4j.rootLogger=INFO, rootConsoleAppender, rootFileAppender
Chengyu Fan71b712b2015-09-09 22:13:56 -06004
Chengyu Fancfb80c72015-10-19 16:50:04 -06005# rootConsoleAppender prints out messages to console
6log4j.appender.rootConsoleAppender=org.apache.log4j.ConsoleAppender
7log4j.appender.rootConsoleAppender.layout=org.apache.log4j.PatternLayout
8log4j.appender.rootConsoleAppender.layout.ConversionPattern=%d %-5p [%c] - %m%n
Chengyu Fan71b712b2015-09-09 22:13:56 -06009
Chengyu Fancfb80c72015-10-19 16:50:04 -060010# rootFileAppender dumps messages to a file
11#log4j.appender.rootFileAppender=org.apache.log4j.FileAppender
12log4j.appender.rootFileAppender=org.apache.log4j.RollingFileAppender
13log4j.appender.rootFileAppender.layout=org.apache.log4j.PatternLayout
14log4j.appender.rootFileAppender.layout.ConversionPattern=%d %-5p [%c] - %m%n
15log4j.appender.rootFileAppender.File=catalog.log
16log4j.appender.rootFileAppender.MaxFileSize=100KB
Chengyu Fan71b712b2015-09-09 22:13:56 -060017
Chengyu Fancfb80c72015-10-19 16:50:04 -060018# Change the log level (INFO, DEBUG, etc.) here
Chengyu Fan7b978f82015-12-09 17:03:23 -070019log4j.logger.QueryAdapter=DEBUG
20log4j.logger.PublishAdapter=DEBUG
Chengyu Fan71b712b2015-09-09 22:13:56 -060021