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.
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'.
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
See Also: CA Siteminder Web Agent Configuration Guide