Which log shows changes made to a job or an artifact in CA Workload Automation DE?
search cancel

Which log shows changes made to a job or an artifact in CA Workload Automation DE?


Article ID: 76522


Updated On:


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


The CA Workload Automation DE will capture all the changes made to artifacts (applications, events, global variables, resources etc.).  It also captures various other user actions in special logs called auditlogs.

Which log captures changes made to artifacts like application, event, Agents or JavaScripts?


CA Workload Automation DE 11.3 / R12


When changes are made to an application, event or any other artifact, the tracelog and auditlog will capture the updates.  The auditlog will always capture all the updates including deletion and creation of artifacts with username and timestamps.  The auditlogs are encrypted files and require a CLI command to view the information.

The CLI command to export the logs is exportauditlog.  E.g.  Export the logs from 1st to 2nd April:
     exportauditlog path("/tmp/exportlogs") name("auditlog") startdate("20180401") endate("20180402")

For DE instance running on Windows OS, the '\' in path must be escaped with an extra '\'.  
     exportauditlog path("d:\\temp") name("auditlog") startdate("20180401") endate("20180402")

Make sure the path is accessible and the directories already exist.

Note:  The path specified is on the server side.  The command may be issued on the CLI from Desktop Client, but the logs are exported and created on the server.  You will need to login to the server and retrieve the logs from the specified path.

From Tracelog:
The tracelog will show something like this:

AmsFacade.updateArtifact() request: userToken [UserToken[userId=SOMEUSER,tokenId=6811244037700611072]], artifactType=[APPLICATION], identifier=SOMEAPPLICATION_NAME123

If the tracelog is not at DEFAULT logging level or above, then some information may not available.  Use 'exportauditlog' instead.

Additional Information