dots manages a special application environment that might contain infrastructure bundles that run independently of dots and also produce log messages.
dots should open its capability to write messages to log.nsf to other bundles without requiring them to add dependencies to dots.
To achieve this, dots should
-
use the OSGi LogService to log its own messages (thus allowing other bundles to acces the log messages)
-
register itself as a LogListener to the LogReaderService to collect and log all messages to the Domino console and log database.
This feature could be implemented as an optional: dots could use a static method for logging that directly logs like before if no log service is available. If the service is available, it could use the OSGi logging facility. The dependency of dots on the log bundle could be optional.