Problem:
- Product Name: Borland AppServer
- Product Version: 6.x
- Product Component: osagent
- Platform/OS Version: All
How to change log level of SmartAgent in a partition
Resolution:
Here are the steps to change the osagent's log level:
- Open Borland Management Console, go to the specific Configuration, right click on "Smart Agent" node and select "Properties..." from the pop-up menu
- In the pop up dialog "Smart Agent Properties", select "Agent Process Settings" tab
- "Arguments" field specifies the arguments passed to osagent program, to set log parameter from default one ("oef" -- "Error" and "Fatal") to debug: change ' l oef' to ' l od':
Before edit:
<includePlatforms="...">-n l oef -d ${CONFIG.path}/mos/${MO.name}
After edit:
<includePlatforms="...">-n l od -d ${CONFIG.path}/mos/${MO.name} - Click "OK" to save the change
- Click "Yes" of "Restart Managed Object" dialog box to restart (if required)
A log file named osagentNNNN.log (NNNN is osagent port number) should be created after restart of the osagent in $BES/var/domains/base/configurations/<configname>/mos/osagent
This change will be stored in the configuration's configuration.xml:
${BES}/var/domains/base/configurations/<configname>/configuration.xml -- at the osagent managed-object node.
Author:Naoki Kawasumi
#VisiBroker
#BESAppServer
#Security