code: protected void initializeWriters(LogProviderConfigImpl config) {
          // createFileLog may or may not return the original log holder..
          messagesLog = FileLogHolder.createFileLogHolder(messagesLog,
                                                          newFileLogHeader(false, config),
                                                          config.getLogDirectory(),
                                                          config.getMessageFileName(),
                                                          config.getMaxFiles(),
                                                          config.getMaxFileBytes(),
                                                          config.getNewLogsOnStart());
  
          // Always create a traceLog when using Tr -- this file won't actually be
          // created until something is logged to it...
          TraceWriter oldWriter = traceLog;
          String fileName = config.getTraceFileName();
          if (fileName.equals("stdout")) {
              traceLog = systemOut;
              LoggingFileUtils.tryToClose(oldWriter);
          } else {
              traceLog = FileLogHolder.createFileLogHolder(oldWriter == systemOut ? null : oldWriter,
                                                           newFileLogHeader(true, config),
                                                           config.getLogDirectory(),
                                                           config.getTraceFileName(),
                                                           config.getMaxFiles(),
                                                           config.getMaxFileBytes(),
                                                           config.getNewLogsOnStart());
              if (!TraceComponent.isAnyTracingEnabled()) {
                  ((FileLogHolder) traceLog).releaseFile();
              }
          }
  
      }
docs: Initialize the log holders for messages and trace. If the TrService is configured
  at bootstrap time to use JSR-47 logging, the traceLog will not be created here,
  as the LogRecord should be routed to logger rather than being formatted for
  the trace file.
  
  @param config a {@link LogProviderConfigImpl} containing TrService configuration
  from bootstrap properties