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

neil_a_wilson
04.09.2007 5635a5800f8dd074d7e79514241d9fa870bcc13b
Fix a potential problem in the debug tracer that can cause the unit test
framework to fail with weaving enabled. The tracer was trying to trace the
server startup before it had an appropriate configuration available.
1 files modified
5 ■■■■■ changed files
opends/src/server/org/opends/server/loggers/debug/DebugTracer.java 5 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/loggers/debug/DebugTracer.java
@@ -1035,6 +1035,11 @@
  protected final LogLevel getEffectiveLevel(TraceSettings settings,
                                             LogCategory category)
  {
    if (settings == null)
    {
      return DebugLogLevel.DISABLED;
    }
    LogLevel level = settings.level;
    Set<LogCategory> includedCategories = settings.includeCategories;