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

Fabio Pistolesi
16.20.2016 40f79be87b4396fef7ed77a4e44eb2e840490e67
refs
author Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Thursday, June 16, 2016 11:20 +0200
committer Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Friday, June 17, 2016 18:27 +0200
commit40f79be87b4396fef7ed77a4e44eb2e840490e67
tree 52194693f2ead9e2e3ec34eaf93615108956943c tree | zip | gz
parent a381819e25430ccca6f3d5645d7422d1dda97c1c view | diff
OPENDJ-2725 Only print the message number as msgID in error logs

Do not concatenate the class generating the message with its ordinal number, just use the ordinal number, since
field category is already a short name for the class, where it is defined. Otherwise category will display the class of the message.
If nothing is available, as could be the case with raw messages, display NONE as category.
3 files modified
119 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/loggers/LoggingCategoryNames.java 92 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/loggers/TextErrorLogPublisher.java 5 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/test/java/org/opends/server/loggers/LoggingCategoryNamesTest.java 22 ●●●●● diff | view | raw | blame | history