Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-2706

OpenDJ overwrites native-windows.out after the file size is reached to 0.5 MB

    Details

    • Type: Improvement
    • Status: Dev backlog
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.6.3
    • Fix Version/s: None
    • Component/s: core server
    • Labels:
      None
    • Environment:
      OpenDJ on Windows

      Description

      OpenDJ overwrites native-windows.out without backup when restarting after the file size is reached to 0.5 MB.

      common.c:

      char * DEBUG_LOG_NAME = "native-windows.out";
      DWORD MAX_DEBUG_LOG_SIZE = 500 * 1000;
      
          ...
      
      void debugInner(BOOL isError, const char *msg, va_list ap)
      {
        static DWORD currentProcessPid = 0;
      
          ...
      
        deleteIfLargerThan(logFile, MAX_DEBUG_LOG_SIZE);
      
      

        Attachments

          Activity

            People

            • Assignee:
              ludo Ludovic Poitou
              Reporter:
              kohei Kohei Tamura
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: