1 Reply Latest reply on Sep 17, 2004 8:43 AM by Lothar Egger

    disable jk logging

    Charles Abreu Newbie

      How can I disable jk loggin? I'm using JBoss 3.2.3 integrated with Apache and it generates a lot of DEBUG data in server.log and console for jk requests.

      thanks.

      ---------------------------------------------
      2004-09-16 10:50:08,562 DEBUG [org.apache.jk.common.ChannelSocket] read() [B@b2e752 8192 4 203 = 203
      2004-09-16 10:50:08,562 INFO [org.apache.jk.common.JkInputStream] Receiving: getting request body chunk 203 203
      2004-09-16 10:50:08,578 DEBUG [org.apache.jk.common.MsgAjp] Body buffer: [B@b2e752 4/207
      2004-09-16 10:50:08,578 INFO [STDOUT] 12 34 00 cb 00 c9 54 49 50 4f 5f 44 4f 43 55 4d | .4.?.?TIPO_DOCUM
      2004-09-16 10:50:08,593 INFO [STDOUT] 45 4e 54 4f 3d 4a 26 44 4f 43 55 4d 45 4e 54 4f | ENTO=J&DOCUMENTO
      2004-09-16 10:50:08,593 INFO [STDOUT] 3d 33 36 2e 39 32 38 2e 30 38 33 25 32 46 30 30 | =36.928.083%2F00
      2004-09-16 10:50:08,609 INFO [STDOUT] 30 31 2d 32 30 26 46 4f 4e 45 5f 44 44 44 3d 26 | 01-20&FONE_DDD=&
      2004-09-16 10:50:08,625 INFO [STDOUT] 46 4f 4e 45 5f 4e 55 4d 45 52 4f 3d 26 43 48 45 | FONE_NUMERO=&CHE
      2004-09-16 10:50:08,640 INFO [STDOUT] 51 55 45 5f 43 4d 43 37 3d 43 48 45 51 55 45 26 | QUE_CMC7=CHEQUE&

        • 1. Re: disable jk logging
          Lothar Egger Newbie

          hello chlabreu

          insert into your log4j.xml

          <!-- Limit categories -->
          
          <!-- Limit Tomcat jk connector -->
           <category name="org.apache.jk">
           <priority value="WARN"/>
           </category>
          
           <category name="org.apache.coyote">
           <priority value="WARN"/>
           </category>
          


          this should do the job.
          cheers
          L