2 Replies Latest reply on Jun 4, 2003 3:40 AM by Peter Korsten

    Turning off debug info in log file

    Peter Korsten Newbie

      I'm using 3.2.1, and contrary to 3.0.4 I used before, it logs all [DEBUG] messages in the log file. Is there a way to switch this off? I've checked all configuration files that have 'debug' or 'DEBUG' in them, changed a few to 'INFO', but it doesn't make any difference.

      I'm under the impression that the whole system slows down due to the debug messages, so any hints would be greatly appreciated.

      - Peter

        • 1. Re: Turning off debug info in log file
          Jon Barnett Master

          Is it the server.log file? If so, then you control the rolling log in server/instance/log4j.xml where instance is the server instance - most likely default.

          The setting is controlled in this section:

          <!-- Rollover at midnight each day -->
          <param name="DatePattern" value="'.'yyyy-MM-dd"/>

          <!-- Rollover at the top of each hour
          <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>

          <!-- The default pattern: Date Priority [Category] Message\n -->

          <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n


          Just change the threshold value.

          • 2. Re: Turning off debug info in log file
            Peter Korsten Newbie

            Ah, thank you! What went "wrong" is that the treshold parameter was missing for the log file, and hence I missed it. Adding it solved my issue.

            Thanks again: loading time is down by over half a minute, and I doubt I would have found it myself for this long-overdue project.

            - Peter