Skip to main content

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:

  1. Open Borland Management Console, go to the specific Configuration, right click on "Smart Agent" node and select "Properties..." from the pop-up menu
  2. In the pop up dialog "Smart Agent Properties", select "Agent Process Settings" tab
  3. "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}
  4. Click "OK" to save the change
  5. 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

Old KB# 30066

#VisiBroker
#BESAppServer
#Security