Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 5 of 5
  1. #1
    Aszrael Guest

    Default 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. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    High verbosity

    TRACE
    DEBUG
    ALL
    INFO
    ERROR
    SEVERE

    Low verbosity

  3. #3
    Aszrael Guest

    Default

    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???)

  4. #4
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    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

  5. #5
    Aszrael Guest

    Default

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •