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

neil_a_wilson
04.09.2007 d162d6ac58de53cd8ff8749c656580583017e28f
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
opendj-sdk/opends/src/server/org/opends/server/loggers/debug/DebugTracer.java 5 ●●●●● patch | view | raw | blame | history
opendj-sdk/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;