search cancel

Capture Source Browser details into WCC logs

book

Article ID: 201296

calendar_today

Updated On:

Products

CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation AE

Issue/Introduction

The existing Workload Control Center (WCC) log file shows the Source IP Address and user id used to log into WCC application but not the Source Browser details.
This article explains on capturing the Source Browser details into WCC logs.

Environment

Release : 11.3.6

Component : WORKLOAD CONTROL CENTER

Resolution

To capture the Source browser details, please follow:

  1. Add "accessLogvalve" entry in WCC's conf\server.xml as below:
    <!-- Access log processes all example.
                 Documentation at: /docs/config/valve.html
                 Note: The pattern used is equivalent to using pattern="common" -->
            <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
                   prefix="localhost_access_log" suffix=".txt"
                   pattern="%h %l %u %t &quot;%r&quot; %s %b %{User-Agent}i %{Referrer}i"/>
  2. Restart CA-wcc service
  3. It generates a new tomcat\logs\localhost_access_log.xxxxx.txt log file with the needed information.

Additional Information

For more information on "pattern" used please check:
http://wiki.xpolog.com/pages/viewpage.action?pageId=6094999