Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Note

Logging properties must be set using -D arguments and cannot be set in the fcrepo.properties file.

The Fedora 4 logging output can be configured by setting System properties for either all logging output, or for individual packages.

PropertyDescription
fcrepo.logAll Fedora
4
logging
fcrepo.log.authAuthentication and authorization
fcrepo.log.http.apiREST API interface
fcrepo.log.http.commonsREST API implementation
fcrepo.log.jmsJMS events
fcrepo.log.kernelCore API

These properties can be set to any of these values (in increasing verbosity): "ERROR", "WARN", "INFO" (the default), "DEBUG" or "TRACE".  For example, to increase the access control logging to debug, but decrease all other logging to warn, add these System properties to your Java command line:

...

There are also a few properties for test logging, which only impact the logging when building Fedora 4 from source:

PropertyDescription
fcrepo.log.integration.httpREST API integration tests
fcrepo.log.integration.jmsJMS events integration tests