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

Gaetan Boismal
09.27.2015 efc41e456f715abe57a69d6136a2d1a1098eae4c
opendj-server-legacy/src/main/java/org/opends/server/loggers/TextErrorLogPublisher.java
@@ -62,6 +62,7 @@
{
  private TextWriter writer;
  private FileBasedErrorLogPublisherCfg currentConfig;
  private ServerContext serverContext;
  /**
   * Returns a new text error log publisher which will print all messages to the
@@ -105,6 +106,7 @@
  public void initializeLogPublisher(FileBasedErrorLogPublisherCfg config, ServerContext serverContext)
      throws ConfigException, InitializationException
  {
    this.serverContext = serverContext;
    File logFile = getLogFile(config);
    FileNamingPolicy fnPolicy = new TimeStampNaming(logFile);
@@ -350,6 +352,7 @@
        currentConfig = config;
      }
      serverContext.getLoggerConfigManager().adjustJulLevel();
    }
    catch(Exception e)
    {