The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

tomcat logging

Discussion in 'General Discussion' started by hostit1, Nov 24, 2003.

  1. hostit1

    hostit1 Well-Known Member

    Joined:
    Jul 24, 2003
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    0
    Is there an easy way for our users to have access to JSP logfiles pertaining to their user account?

    Can this be accomplished by a web.xml comment in the users WEB-INF file? If so, can someone share a common "shared" web.xml file that has logging comments?

    If this can NOT be accomplished in the web.xml file . . . is there third party solutions out there that is reliable yet inexpensive.

    Thank you in advance.

    Mark Langston
    Host It Now Networks
    http://hostitnow.com
     
    #1 hostit1, Nov 24, 2003
    Last edited: Nov 24, 2003
  2. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    You can either configure the FileLogger API for each host entry in the server.xml or simply tell the customer to implement log4j externally into their application. The log4j will be much more robust than the internal FileLogger API. They can get log4j from the jakartra website.
     
  3. hostit1

    hostit1 Well-Known Member

    Joined:
    Jul 24, 2003
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    0
    Thank you so much Jsteel for the help.

    Do you have a sample FileLogger API config line for the server.xml?

    Much appreaciated for your assistance.

    Sincerely,

    Mark Langston
     
  4. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
Loading...

Share This Page