Table of Contents |
---|
Fedora uses Logback as its logging framework. Information about the framework and its configuration can be found here: https://logback.qos.ch/index.html
Default Logging Configuration
Note |
---|
The following logging |
Note |
Logging properties must be set using -D arguments and cannot be set in the fcrepo.properties file. |
Unless otherwise specified, Fedora will use the following default logback configuration file:
https://github.com/fcrepo/fcrepo/blob/fcrepo-6.0.0/fcrepo-webapp/src/main/resources/logback.
...
When this file is used, the The Fedora logging output can be configured by setting System properties for either all logging output, or for individual packages.
...
Property | Description |
---|---|
fcrepo.log.integration.http | REST API integration tests |
fcrepo.log.integration.jms | JMS events integration tests |
Custom Logging Configuration
For more control over logging configuration - such as logging granularity, log file paths, or log rotation - you can specify the path to a custom logback file with the following java parameter:
Code Block |
---|
-Dlogback.configurationFile=/path/to/custom/logback.xml |
For more information about the syntax and options in these files, see the Logback Configuration page. The default Fedora logback file is also a helpful reference.