-
Notifications
You must be signed in to change notification settings - Fork 6
logging
James Moger edited this page Nov 20, 2015
·
1 revision
Logback is the logging framework used by Fathom and SLF4J is the facade.
You can configure Logback through the conf/logback.xml
file.
Details on configuring Logback can be found here.
You can specify a mode-specific Logback configuration in your profile configuration file.
# Default Logback configuration
logback.configurationFile = "classpath:conf/logback-dev.xml"
# Production Logback configuration
prod {
logback.configurationFile = "classpath:conf/logback.xml"
}
If you need to specify a Logback configuration file that is not built-into your application you may do this with a launch argument:
java -Dlogback.configurationFile=mylogback.xml -jar myapp.jar