mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gaetan Boismal
01.56.2015 c3cd23d56ce13b5bf0c4c8614cafff1179e7da59
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Tuesday, December 1, 2015 20:56 +0100
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, December 4, 2015 15:53 +0100
commitc3cd23d56ce13b5bf0c4c8614cafff1179e7da59
tree c253e8a6e019e849785b8ba0cca4fbdf66bf6d10 tree | zip | gz
parent 06ff3bee42965cac8cb34c64b320714d43318b62 view | diff
OPENDJ-2494 Improve OpenDJ SLF4J implementation

PR-195
This commit improves the OpenDJ SLF4J logger implementation as follow:
* Add a generic LocalizableMessage to log external library messages (e.g
common audit, grizzly, JE).

* If external libraries calls methods that we use in OpenDJ we do not
throw exception any more, we just log the message.

* As third party libraries could use our slf4j implementation, add fast
path checks to ensure that log level is enabled before doing anything.

* Log third party readme debug messages into the debug logger
(instead of the error logger with INFORMATION severity before).
2 files modified
1 files added
400 ■■■■ changed files
opendj-server-legacy/pom.xml 2 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/loggers/slf4j/OpenDJLoggerAdapter.java 356 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/messages/org/opends/messages/external.properties 42 ●●●●● diff | view | raw | blame | history