Web Agent Trace files are empty

Document ID : KB000004712
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

The Agent has been configured to generate Log Files and Trace Files.  Both the Agent Log and Trace Files are being created, however only the Agent Logs are being written too and are rotating.  The Agent Trace Files are "0" byte files and there is no data being written to them.

 

Web Agent logs show the following errors: 

[SmPlugin.cpp:66][INFO][sm-AgentFramework-00170] Agent Framework plug-in 'SM_WAF_HTTP_PLUGIN' initialized. Description 'SiteMinder Agent HTTP Plug-in'. 

[CSmLowLevelAgent.cpp:5206][INFO][sm-AgentFramework-00510] LLA: Logging initialized. 

[CSmLowLevelAgent.cpp:5236][INFO][sm-AgentFramework-00610] LLAWP: Unable to initialize tracing. 

[CSmLowLevelAgent.cpp:5255][INFO][sm-AgentFramework-00620] LLAWP: Unable to initialize tracing for AgentAPI. 

Environment:
Web Agent Versions: r12.5, r12.51, r12.52Web Servers: AllWeb Server OS: All
Cause:

The Agent Configuration Object (ACO) had the following configured:

 

logfile='yes'

logfilename='/apps/web/apache/app1/CA/webagent/logs/WebAgent.log'

logfilesize='100'

logappend='no'

.....

tracefile='yes'

tracefilename='/apps/web/apache/app1/CA/webagent/logs/Trace.log'

tracefilesize='100'

traceconfigfile='./apps/web/apache/app-1/CA/webagent/conf/TraceConfigFile.conf'.

traceappend='no'.

Resolution:

This issue will occur for two possible reasons:

 

1) Path to Trace Configuration file is incorrect.

2) File name defined for the Trace Configuration File is invalid.

The CA Single Sign-On (Siteminder) Web Agent provides the default template for web agent tracing.

Windows Default:

C:\Program Files\CA\webagent\win64\config\WebAgentTrace.conf

UNIX Default:

<web_agent_home>\config\WebAgentTrace.conf

Note: On UNIX the file and path are case-sensitive

 

 

 

Additional Information:

See Also: CA Siteminder Web Agent Configuration Guide