Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HSEARCH-3551 Add logging to tests in the java module path
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
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
26 changes: 26 additions & 0 deletions
26
integrationtest/jdk/java-modules/src/test/resources/log4j.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,26 @@ | ||
### direct log messages to stdout ### | ||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | ||
log4j.appender.stdout.Target=System.out | ||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} (%t) %5p %c{1}:%L - %m%n | ||
|
||
### direct messages to file hibernate.log ### | ||
log4j.appender.file=org.apache.log4j.FileAppender | ||
log4j.appender.file.File=hibernate.log | ||
log4j.appender.file.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} (%t) %5p %c{1}:%L - %m%n | ||
|
||
### direct messages to socket - chainsaw ### | ||
log4j.appender.socket=org.apache.log4j.net.SocketAppender | ||
log4j.appender.socket.remoteHost=localhost | ||
log4j.appender.socket.port=4560 | ||
log4j.appender.socket.locationInfo=true | ||
|
||
### set log levels - for more verbose logging change 'info' to 'debug' ### | ||
|
||
log4j.rootLogger=info, stdout | ||
log4j.logger.org.jboss=info | ||
#log4j.logger.com.jboss=debug | ||
|
||
#log4j.logger.org.hibernate.search=debug | ||
log4j.logger.org.hibernate.search=trace |