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

Fabio Pistolesi
23.09.2016 f7139fa4ddb6a0bdc698b5a1ac2b265377dd97f7
refs
author Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Thursday, June 23, 2016 15:09 +0200
committer Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Friday, June 24, 2016 12:22 +0200
commitf7139fa4ddb6a0bdc698b5a1ac2b265377dd97f7
tree 567ac16da00f866d1f0d1123e80396f3023ed8bb tree | zip | gz
parent 36ad5988b43dba78b8e2efa3aca5cff9443a93f0 view | diff
OPENDJ-2725 Set message categories for tools who use JDK logging instead of the server custom logger

Tools use a logger based on JDK logging, while the server implements a slf4j logger.
When logging, the original LocalizableMessage is lost when JDK logging is used, so there is no information on the resource to map to the category.
Revert to using the source class of the message for determining categories via a secondary map.
1 files modified
78 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/loggers/LoggingCategoryNames.java 78 ●●●● diff | view | raw | blame | history