Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jul 2003
    Posts
    89

    Default tomcat logging

    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
    Last edited by hostit1; 11-24-2003 at 12:12 PM.

  2. #2
    Member
    Join Date
    Jul 2002
    Location
    Atlanta, GA
    Posts
    646

    Default

    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. #3
    Member
    Join Date
    Jul 2003
    Posts
    89

    Default

    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. #4
    Member
    Join Date
    Jul 2002
    Location
    Atlanta, GA
    Posts
    646

    Default

    http://jakarta.apache.org/tomcat/tom...ig/logger.html

    Depending upon your actual needs, you may also want to add an Access Log Valve (link to that on the same page above).

    An actual Logger example entry is already in your server.xml for the default context (using FileLogger).

Similar Threads & Tags
Similar threads

  1. Tomcat Memory and Disk Allocaiton, Trying to help a user with Tomcat
    By bcvnbhjag in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-02-2011, 05:50 AM
  2. Logging on to webmail without logging on to cpanel
    By Simsen in forum E-mail Discussions
    Replies: 2
    Last Post: 10-15-2007, 08:15 AM
  3. Logging IN
    By SnugglexBug in forum New User Questions
    Replies: 1
    Last Post: 10-29-2005, 04:40 PM
  4. Logging in
    By xyther4523 in forum New User Questions
    Replies: 4
    Last Post: 02-08-2005, 10:36 AM
  5. Logging Out?
    By rbro in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 02-08-2002, 11:07 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube