frogger: Debug und Fehlermeldungen des Tomcat??

hi forumianer!

ich möchte meinem Tomcat eine _ausführlichste_ Febug/Fehler -Meldung entlocken, wo muß ich das einstellen. In der server.xml steht im <Context> debug="1" - reicht das?
Der Tomcat läuft unter Debian und ist in Version 3.2

Danke
frogger

  1. hi forumianer!

    hi frogger

    ich möchte meinem Tomcat eine _ausführlichste_ Febug/Fehler -Meldung entlocken, wo muß ich das einstellen. In der server.xml steht im <Context> debug="1" - reicht das?

    die Levels gehen bis 9 hoch.

    Gruß
    Franz

  2. hallo,

    ich möchte meinem Tomcat eine _ausführlichste_ Febug/Fehler -Meldung entlocken, wo muß ich das einstellen. In der server.xml steht im <Context> debug="1" - reicht das?

    was die level bedeutetn:
    -----
    Level 0
                Errors and states that cause a significant change in program flow.
                => Anything that causes a Discon+Retry or a "giveup" message.

    Level 1
                Important or inaccessible state information.
                => Connection start, Idle disconnection.

    Level 2
                Rare things that cause a minor program flow adjustment.
                => No REST, No PASV, etc.

    Level 3
                Errors and useful messages that are slightly too verbose or common
                for 0-2 or don't quite fit in the classifications.
                => Login banner

    Level 4
                All remote responses or major results. (Trace results)
                => All "999 Xyzzy" responses received.

    Level 5
                All remote commands or major tasks. (Trace jobs)
                => All commands sent to server.

    Level 6
                General information that will not be too verbose but is normally a
                little less important. (Trace state)

    Level 7
                Similar to level 3 but verbose or not as useful.

    Level 8
                Very verbose information that'll probably be useful sometime.

    Level 9
                Anything and everything else, debugs that probably won't be useful
                ever again.
    ------

    oder du machst es genereller:

    -----
     Verbosity:

    Threshold for which types of messages are displayed in the
      log.  Levels are inclusive; that is, "WARNING" level displays
      any log message marked as warning, error, or fatal.  Default
      level is WARNING.

    verbosityLevel values can be:
         FATAL
         ERROR
         WARNING
                INFORMATION
                DEBUG
    ---------
      Per-component Debugging:

    Some components accept a "debug" attribute.  This further
      enhances log output.  If you set the "debug" level for a
      component, it may output extra debugging information.
        -->

    <!-- if you don't want messages on screen, add the attribute
                path="logs/tomcat.log"
      to the Logger element below
        -->
        <Logger name="tc_log"
                verbosityLevel = "INFORMATION"
        />

    usw.
    --------

    setze hier überall DEBUG  ein.

    grüße
    thomas