Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Pre-Configured Installation Log Files

  1. #1

    Default Pre-Configured Installation Log Files

    I'm running the release candidate Pre-Configured Installation and I would like to log information about visitors to the server. Can someone help me to understand how I can activate basic logging (e.g., IP address, visited URL, etc.).

    Thanks,

    Chris

  2. #2
    Join Date
    Nov 1999
    Posts
    579

    Default Re:Pre-Configured Installation Log Files

    See the server.xml in the following location:

    pci-dir/jboss/server/default/deploy/jbossweb-tomcat55.sar/server.xml

    In there, you should find something like this:

    Code:
    <!-- Access logger -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
                    prefix="localhost_access_log." suffix=".log"
                    pattern="common" directory="${jboss.server.home.dir}/log" 
                    resolveHosts="false" />
    -->
    I believe if you uncomment that valve, you'll be getting access logs in no time.

    Let us know,

    Marc

  3. #3

    Default Re:Pre-Configured Installation Log Files

    Hi Marc,

    When I uncommented that block, the server had an error. I dug around on the Jboss site and found the following class name - "org.apache.catalina.valves.AccessLogValve". When I used this value, the logging worked fine. I'm not sure why the original class name seems invalid, I didn't dig any deeper...

    Chris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.