CA WA dSeries (DE) : How to check currently enabled logging profile?

book

Article ID: 184093

calendar_today

Updated On:

Products

CA Workload Automation DE - Business Agents (dSeries) CA Workload Automation DE DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries) CA Workload Automation DE - Scheduler (dSeries)

Issue/Introduction

Where can a user check the current logging profile for the server? 
What is the recommended profile?

Environment

Release : 12.2

Component : CA WORKLOAD AUTOMATION DE (DSERIES)

Resolution

By default, the logging profile in CA WA DE (dSeries) is DEFAULT.

If the profile is changed, the change is captured in the tracelog at the time of changed.  


20200228 17:XX:XX.000 [facade:request] [INFO] RMI TCP Connection(209)-10.0.2.2: [2020-02-28_17:XX:XX.000] AmsFacade.readArtifact() response: userToken=[UserToken[userId=NITIN,tokenId=1234500000000000000]], StandardResponse[statusMessage=Logging_profile DEFAULT PLUS RDBMS successfully read, statuscompletioncode=SUCCESS, statusmessageid=AMS00002, infomessages=(), payload=ReadPayload[definition=<logging-profile xsi:schemaLocation="http://dto.wa.ca.com/loggingProfile.xsd" name="DEFAULT PLUS RDBMS" xmlns="http://dto.wa.ca.com/logging" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">........




Users can check the server.log4j.xml in <DE_install_directory>/conf directory file for all loggers and compare it with logging profile like default.

E.g.  DEFAULT profile from server.log4j.xml, the loggers with level will appear as below.


<!-- All loggers are listed below. This allows disabling them individually by changing level to OFF. -->

  <logger name="acl:utils" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="aet" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="afm:removal" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="afm:routing" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="agent:afm" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="alert:manager" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="ams:lock:manager" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="appl:folder" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="appl:lump" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="attach:spoolfile" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="cache:info" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="communications" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="datacapture" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="dm" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="dm:actioncommand" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="dm:applstate" additivity="true">

    <level value="OFF" />

    <appender-ref ref="APPLSTATE" />

  </logger>

  <logger name="dm:commandmanager" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="dm:communications" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="dm:communications:exception" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="dm:controlobject" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="dm:critical:path" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="dm:publishsubscribe" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="dm:timer" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="dm:wob" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="emailclient" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="essential" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="externals" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="facade:request" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="gossip:exceptions" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="hac" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="hac:verbose" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="health" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="incoming:afms" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="incoming:messages" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="input:queue:info" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="internal:messages" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="io:queues" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="js" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="ldap" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="logging" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="noise" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="outgoing:afms" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="parser" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="populator" additivity="true">

    <level value="INFO" />

    <appender-ref ref="POPULATOR" />

  </logger>

  <logger name="process:flow" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="publishsubscribe" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="pubsub" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="rdb:connection" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="rdb:statements" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="relationaldatabase" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="rm" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="rm:status:persistence" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="rm:utilities" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="security:checks" additivity="true">

    <level value="OFF" />

  </logger>

  <logger name="snmp" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="ss" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="ss:incoming:afms" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="ss:tdr" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="ss:trigger" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="state:changes" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="strategy:required" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="timers" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="trace:afm" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="variable" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="variable:dependency" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="wob:management" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="ws" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="ws:clientsession" additivity="true">

    <level value="WARN" />

  </logger>

  <logger name="ws:clientsession:subscription" additivity="true">

    <level value="OFF" />

  </logger>

  <logger name="ws:connections" additivity="true">

    <level value="INFO" />

  </logger>

  <logger name="buffer" additivity="false">

    <level value="ALL" />

    <appender-ref ref="BUFFER" />

  </logger>



The following is for DEFAULT PLUS RDBMS

<!-- All loggers are listed below. This allows disabling them individually by changing level to OFF. -->

<logger name="acl:utils" additivity="true">

    <level value="WARN" />

</logger>

<logger name="aet" additivity="true">

    <level value="WARN" />

</logger>

<logger name="afm:removal" additivity="true">

    <level value="INFO" />

</logger>

<logger name="afm:routing" additivity="true">

    <level value="INFO" />

</logger>

<logger name="agent:afm" additivity="true">

    <level value="INFO" />

</logger>

<logger name="alert:manager" additivity="true">

    <level value="INFO" />

</logger>

<logger name="ams:lock:manager" additivity="true">

    <level value="WARN" />

</logger>

<logger name="appl:folder" additivity="true">

    <level value="WARN" />

</logger>

<logger name="appl:lump" additivity="true">

    <level value="INFO" />

</logger>

<logger name="attach:spoolfile" additivity="true">

    <level value="INFO" />

</logger>

<logger name="cache:info" additivity="true">

    <level value="WARN" />

</logger>

<logger name="communications" additivity="true">

    <level value="INFO" />

</logger>

<logger name="datacapture" additivity="true">

    <level value="INFO" />

</logger>

<logger name="dm" additivity="true">

    <level value="INFO" />

</logger>

<logger name="dm:actioncommand" additivity="true">

    <level value="INFO" />

</logger>

<logger name="dm:applstate" additivity="true">

    <level value="OFF" />

    <appender-ref ref="APPLSTATE" />

</logger>

<logger name="dm:commandmanager" additivity="true">

    <level value="WARN" />

</logger>

<logger name="dm:communications" additivity="true">

    <level value="WARN" />

</logger>

<logger name="dm:communications:exception" additivity="true">

    <level value="WARN" />

</logger>

<logger name="dm:controlobject" additivity="true">

    <level value="INFO" />

</logger>

<logger name="dm:critical:path" additivity="true">

    <level value="WARN" />

</logger>

<logger name="dm:publishsubscribe" additivity="true">

    <level value="INFO" />

</logger>

<logger name="dm:timer" additivity="true">

    <level value="INFO" />

</logger>

<logger name="dm:wob" additivity="true">

    <level value="INFO" />

</logger>

<logger name="emailclient" additivity="true">

    <level value="INFO" />

</logger>

<logger name="essential" additivity="true">

    <level value="INFO" />

</logger>

<logger name="externals" additivity="true">

    <level value="INFO" />

</logger>

<logger name="facade:request" additivity="true">

    <level value="INFO" />

</logger>

<logger name="gossip:exceptions" additivity="true">

    <level value="WARN" />

</logger>

<logger name="hac" additivity="true">

    <level value="INFO" />

</logger>

<logger name="hac:verbose" additivity="true">

    <level value="WARN" />

</logger>

<logger name="health" additivity="true">

    <level value="INFO" />

</logger>

<logger name="incoming:afms" additivity="true">

    <level value="INFO" />

</logger>

<logger name="incoming:messages" additivity="true">

    <level value="INFO" />

</logger>

<logger name="input:queue:info" additivity="true">

    <level value="INFO" />

</logger>

<logger name="internal:messages" additivity="true">

    <level value="INFO" />

</logger>

<logger name="io:queues" additivity="true">

    <level value="INFO" />

</logger>

<logger name="js" additivity="true">

    <level value="INFO" />

</logger>

<logger name="ldap" additivity="true">

    <level value="INFO" />

</logger>

<logger name="logging" additivity="true">

    <level value="INFO" />

</logger>

<logger name="noise" additivity="true">

    <level value="WARN" />

</logger>

<logger name="outgoing:afms" additivity="true">

    <level value="INFO" />

</logger>

<logger name="parser" additivity="true">

    <level value="INFO" />

</logger>

<logger name="populator" additivity="true">

    <level value="INFO" />

    <appender-ref ref="POPULATOR" />

</logger>

<logger name="process:flow" additivity="true">

    <level value="INFO" />

</logger>

<logger name="publishsubscribe" additivity="true">

    <level value="INFO" />

</logger>

<logger name="pubsub" additivity="true">

    <level value="INFO" />

</logger>

<logger name="rdb:connection" additivity="true">

    <level value="INFO" />

</logger>

<logger name="rdb:statements" additivity="true">

    <level value="INFO" />

</logger>

<logger name="relationaldatabase" additivity="true">

    <level value="INFO" />

</logger>

<logger name="rm" additivity="true">

    <level value="INFO" />

</logger>

<logger name="rm:status:persistence" additivity="true">

    <level value="INFO" />

</logger>

<logger name="rm:utilities" additivity="true">

    <level value="WARN" />

</logger>

<logger name="security:checks" additivity="true">

    <level value="OFF" />

</logger>

<logger name="snmp" additivity="true">

    <level value="INFO" />

</logger>

<logger name="ss" additivity="true">

    <level value="INFO" />

</logger>

<logger name="ss:incoming:afms" additivity="true">

    <level value="INFO" />

</logger>

<logger name="ss:tdr" additivity="true">

    <level value="INFO" />

</logger>

<logger name="ss:trigger" additivity="true">

    <level value="INFO" />

</logger>

<logger name="state:changes" additivity="true">

    <level value="INFO" />

</logger>

<logger name="strategy:required" additivity="true">

    <level value="INFO" />

</logger>

<logger name="timers" additivity="true">

    <level value="INFO" />

</logger>

<logger name="trace:afm" additivity="true">

    <level value="INFO" />

</logger>

<logger name="variable" additivity="true">

    <level value="INFO" />

</logger>

<logger name="variable:dependency" additivity="true">

    <level value="INFO" />

</logger>

<logger name="wob:management" additivity="true">

    <level value="WARN" />

</logger>

<logger name="ws" additivity="true">

    <level value="INFO" />

</logger>

<logger name="ws:clientsession" additivity="true">

    <level value="WARN" />

</logger>

<logger name="ws:clientsession:subscription" additivity="true">

    <level value="OFF" />

</logger>

<logger name="ws:connections" additivity="true">

    <level value="INFO" />

</logger>

<logger name="buffer" additivity="false">

    <level value="ALL" />

    <appender-ref ref="BUFFER" />

</logger>


Compare the current loggers values in server.log4j.xml with above.  

It is recommended to run Production instances on DEFAULT or ESSENTIAL.  If there are issues then extra logging may be enabled like DEFAULT PLUS RDBMS (default plus additional DB related)

Additional Information

Note: Only enable EVERYTHING if the system has had issues.  Make sure additional disk space is available to prevent file system from getting completely filled up.  If enabled, plan for an additional 400-500 MB of free disk space.