-
Notifications
You must be signed in to change notification settings - Fork 300
Logging
rantav edited this page Sep 14, 2010
·
1 revision
Hector provides extensive logging using slf4j which is a high level log wrapper with a log4j implementation.
By default all logs are at the INFO level.
If you need more logs simply create a log4j.properties file and either place it in your classpath or send your program:
-Dlog4j.configuration=file:///path/to/log4j.properties
Where the log4j.properties file might look like:
$ cat log4j.propertieslog4j.rootLogger=DEBUG,stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.SimpleLayout