Tasks #1646

Document logging system configuration

Added by J. Moringen about 8 years ago.

Status:NewStart date:10/16/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Documentation
Target version:-

Description

I am aware that there is no RSC manual so far, but I would like to record the following in case such a manual is written at some point

when I use e.g. classes provided from included libraries, that use the
rsc logging functionality, is it possible to set a different log level
for these than for the "main" programm? Or maybe even per instance of
a class?

For RSC-based logging, log-levels of individual loggers can be
configured based on logger names. Most libraries use fully qualified
class names as logger names (e.g. rsb.transport.spread.outconnector),
thus referring to individual instances is usually not possible. These
names can be referred to in e.g. rsb.conf:

[rsc.logging]
rsb.transport.spread.outconnector.LEVEL= ALL | TRACE | DEBUG | ...

or environment variables:

$ export RSC_LOGGING_RSB_TRANSPORT_SPREAD_OUTCONNECTOR_LEVEL=DEBUG ...

Also available in: Atom PDF