source: mauRepo/revitalizationProject/branches/MEDIN/dpws/src/main/resources/log4j.properties @ 8105

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/revitalizationProject/branches/MEDIN/dpws/src/main/resources/log4j.properties@8105
Revision 8105, 884 bytes checked in by mnagni, 8 years ago (diff)

Adds a new small test for the query assembly
define a log4j.property file with a stdout and a file appenders

Line 
1# Direct log messages to a log file
2log4j.appender.file=org.apache.log4j.RollingFileAppender
3log4j.appender.file.File=discovery.log
4log4j.appender.file.MaxFileSize=100MB
5log4j.appender.file.MaxBackupIndex=10
6log4j.appender.file.layout=org.apache.log4j.PatternLayout
7log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
8 
9# Direct log messages to stdout
10log4j.appender.stdout=org.apache.log4j.ConsoleAppender
11log4j.appender.stdout.Target=System.out
12log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
13log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
14
15
16# Root logger option
17log4j.rootLogger = DEBUG, stdout
18
19# Log everything. Good for troubleshooting
20log4j.logger.ndg.services=DEBUG
21
22# Log everything. Good for troubleshooting
23log4j.logger.org.hibernate=INFO
24 
25# Log all JDBC parameters
26log4j.logger.org.hibernate.type=ALL
Note: See TracBrowser for help on using the repository browser.