220.127.116.11 Logging API
In the repository server all logging is performed using the commons-logging API.
It is then up to the environment in which the repository server is started to set up a concrete logging implementation.
18.104.22.168 Logging tips
The Daisy Runtime CLI has some handy options for logging, mostly intended for use during Daisy development:
-l (lowercase L) enables logging to the console, for the log level specified as argument (i.e. debug, info, warn, error)
-m specifies the category for which to enable this logging (optional, by default it's for the root logger)
So for example:
start-repository -l debug
will cause all debug log to be sent to the console (during startup this will be quite a lot). To only see logging produced by Daisy, one could do:
start-repository -l debug -m org.outerj.daisy