3 Replies Latest reply on Nov 6, 2003 4:34 PM by chubinator

    JBoss/Tomcat/Ajp13 logging

    chubinator

      I have iPlanet forwarding requests to tomcat using Ajp13 and everything works great.

      Only thing now is that for every request I get:

      2003-11-05 15:00:33,297 INFO [org.apache.jk.common.JkInputStream] Receiving: getting request body chunk 126 126
      2003-11-05 15:00:33,298 INFO [STDOUT] 12 34 00 7e 00 7c 65 4e 71 7a 73 61 2f 49 7a 56 | .4.~.|eNqzsa/IzV
      2003-11-05 15:00:33,299 INFO [STDOUT] 45 6f 53 79 30 71 7a 73 7a 50 73 31 55 79 31 44 | EoSy0qzszPs1Uy1D
      2003-11-05 15:00:33,300 INFO [STDOUT] 4e 51 73 72 65 7a 63 58 45 4d 63 66 52 33 38 6e | NQsrezcXEMcfR38n
      2003-11-05 15:00:33,301 INFO [STDOUT] 4a 31 44 72 47 7a 63 58 62 30 44 50 5a 58 43 4b | J1DrGzcXb0DPZXCK
      2003-11-05 15:00:33,301 INFO [STDOUT] 6b 73 53 4c 56 56 38 73 77 72 53 55 31 50 4c 56 | ksSLVV8swrSU1PLV
      2003-11-05 15:00:33,302 INFO [STDOUT] 4b 79 73 7a 51 7a 73 62 54 52 42 30 76 5a 32 54 | KyszQzsbTRB0vZ2T
      2003-11-05 15:00:33,303 INFO [STDOUT] 6a 36 2b 4b 44 4c 47 31 6f 61 47 5a 6a 59 36 41 | j6+KDLG1oaGZjY6A
      2003-11-05 15:00:33,304 INFO [STDOUT] 4e 6c 37 47 7a 30 6b 55 77 44 41 44 5a 6c 49 42 | Nl7Gz0kUwDADZlIB
      2003-11-05 15:00:33,304 INFO [STDOUT] 6b 3d | k=
      2003-11-05 15:00:33,321 INFO [org.apache.jk.common.JkInputStream] Receiving: getting request body chunk 0 0

      Ick. How do I turn off all this logging? I realize this is really a jk question, but I can't find the appropriate configuration files and thought they may be somewhere deep in the Jboss/Tomcat deployment.

      Any help greatly appreciated.

        • 1. Re: JBoss/Tomcat/Ajp13 logging
          jonlee

          Have you tried turning the verbosity down for the Tomcat logger? JBOSS_HOME/server/default/deploy/jbossweb-tomcat41.sar/META-INF/jboss-service.xml for 3.2.2. It may be slightly different for other 3.2.x versions but should be recognisable. The run-time instance will affect the exact path, but I expect default is your run-time instance.

          In the file it is probably:


          Maybe you want to switch it to WARN.

          • 2. Re: JBoss/Tomcat/Ajp13 logging
            chubinator

            Thanks for the reply. I sure did, but it apparently doesn't apply to the JK code.

            I'm thinking it's related to JDK logging parameters, but I'm not sure where to find those.

            Any ideas?

            Thanks again for the response.

            • 3. Re: JBoss/Tomcat/Ajp13 logging
              chubinator

              Found it. Sometimes the obvious answer is the hardest to find :)

              Had to add an entry to log4j.xml:

              <!-- Limit JK categories to ERROR -->