Announcement

Collapse
No announcement yet.

file-logging level

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • file-logging level

    Hi,
    what log-levels are available in file-logging.properties?
    default seems to be ALL, but since everything seems to be fine, I prefer not to log e.g. INFO (my logfile is growing pretty fast with INFO, FEIN, AM FEINSTEN, etc.)
    Is there any doc on file-logging.properties?

    Thanks
    Aszrael

  • #2
    High verbosity

    TRACE
    DEBUG
    ALL
    INFO
    ERROR
    SEVERE

    Low verbosity

    Comment


    • #3
      Is it OK to change it to something like:
      .level=ERROR

      handlers=java.util.logging.FileHandler
      java.util.logging.FileHandler.pattern=/var/log/open-xchange/open-xchange.log
      java.util.logging.FileHandler.level=ERROR
      java.util.logging.FileHandler.limit=2097152
      java.util.logging.FileHandler.count=99
      java.util.logging.FileHandler.formatter=java.util. logging.SimpleFormatter
      java.util.logging.FileHandler.append=true

      sun.rmi.level=ERROR
      org.apache.level=ERROR
      com.sun.level=ERROR
      javax.management.level=ERROR

      ...or will this kill something (or is total overkill???)

      Comment


      • #4
        Hi,

        you just need to set .level= because this value will be taken as reference by most other classes. In general speaking, everything really bad goes as "SEVERE" which means that non-critical exceptions and standard output will not be logged, but once you've got your system up and running and fixed everything the logs tell you, you won't need verbose logging.

        Greetings

        Comment


        • #5
          Thanks a lot. Your response-time is awesome!!!
          Greetings,
          Aszrael

          Comment

          Working...
          X