Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mod_jk statements logging like crazy...

Discussion in 'General Discussion' started by brianteeter, Dec 3, 2002.

  1. brianteeter

    brianteeter Well-Known Member

    Joined:
    Jan 6, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    306
    I'm running the latest 4.1.12 Jakarta Tomcat install. Its working fine, but its logging an insane amount of useless information in Apache's error_log. See below:

    [Tue Dec 03 06:02:02 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30
    [Tue Dec 03 06:02:03 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30
    [Tue Dec 03 06:02:03 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30
    [Tue Dec 03 06:02:04 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30
    [Tue Dec 03 06:02:04 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30
    [Tue Dec 03 06:02:04 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30
    [Tue Dec 03 06:02:04 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30
    [Tue Dec 03 06:02:05 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30
    [Tue Dec 03 06:02:05 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30
    [Tue Dec 03 06:02:07 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30
    [Tue Dec 03 06:02:07 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30
    [Tue Dec 03 06:02:09 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30
    [Tue Dec 03 06:02:13 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30
    [Tue Dec 03 06:02:15 2002] (debug) [jk_env.c (157)]: env:Create child env 0x85aa518 0x85ffd30


    Any idea on how to turn off all this excess logging? Its no doubt hurting performance, and wasting disk space.

    Thanks in advance,

    Brian
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,574
    Likes Received:
    3
    Trophy Points:
    343
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    In your web.xml file look for

    &param-name&logVerbosityLevel&/param-name&
    &param-value&WARNING&/param-value&

    The value is probably not WRANING and is set to something higher. Change the value to a different value.

    Valid values are FATAL, ERROR, WARNING, INFORMATION, and DEBUG.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    around 20 web.xml???

    Hello,

    I am having the same problem with tomcat.

    I did found the web.xml but it listed around 30 + web.xml files which exact file should i change.

    Could u pls let me know the exact path of right web.xml file.

    (Is this the reason why my Apache Crashes)

    Regards,


    :confused:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,574
    Likes Received:
    3
    Trophy Points:
    343
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    If using Tomcat 4.0.3 it is here
    /usr/local/jakarta/jakarta-tomcat-4.0/build/conf/web.xml

    Not sure if that is why your apache crashes, I don't know anything about your system. But, could be.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...
Similar Threads - mod_jk statements logging
  1. Raj Janorkar
    Replies:
    5
    Views:
    276

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice