Log Viewer does not automatically update

CR #419209

Description: Newly generated logging information for Unwired Orchestrator is not updated in the Log Viewer component of the Profiling and Logging perspective.

Workaround: To ensure that logging information is shown in the Log Viewer, use the following procedure:

StepsSetting up the Unwired Orchestrator logging agent

  1. Download the TPTP Agent Controller and Generic Log Adapter from the Eclipse downloads Web site.

  2. Configure the Agent Controller. Instructions are available in the getting_started.html document available with the Agent Controller download or on the Eclipse Web site.

  3. Launch the Agent Controller.

  4. Configure the Generic Log Adapter according to the instructions given in <gla_install>/bin/gla.bat, where gla_install is the installation directory for your Generic Log Adapter.

  5. In <install_dir>/DevRuntimes/UO/templates/runUOLogAdapter.bat, where <install_dir> is the directory in which you have installed Sybase WorkSpace, replace AC_HOME with the root directory of your Agent Controller installation and GLA_HOME with the root directory of your Generic Log Adapter installation.

  6. In <install_dir>/DevRuntimes/UO/templates/UOLogRuleParser.adapter, change the following lines to match the location of the log file on your machine:

    <pu:Property propertyName="directory" propertyValue="."/>
    <pu:Property propertyName="fileName"propertyValue="Unwired.log.0"/>
    <sensor:SingleFileSensor directory="." fileName="Unwired.log.0"/>
    

    For example, if <jaguar> indicates the root directory of your EAServer installation, change the lines to the following:

    <pu:Property propertyName="directory" propertyValue="<jaguar>\bin"/>
    <pu:Property propertyName="fileName"propertyValue="Unwired.log.0"/>
    <sensor:SingleFileSensor directory="<jaguar>\bin" fileName="Unwired.log.0"/>
    
  7. Start the Generic Log Adapter with the following command:

    <install_dir>/templates/runUOLogAdapter.bat <install_dir>/templates/UOLog_RuleParser.adapter
    

    Here, <install_dir> indicates the root directory of your Sybase WorkSpace installation.

  8. In Eclipse, open the preferences page at Windows | Preferences | Profiling and Logging. Make sure the Enable logging option is selected.

  9. In Eclipse, select Run | Profile, and select Attach - Java Process from the Profile wizard. Click New.

  10. Click the Host tab, and specify the host for your Agent Controller.

  11. Click the Agents tab, and specify UOLogAgentOutputter.

  12. Click Apply, Profile, and Close.

  13. If you need to start profiling, right-click the log entry in the Profiling and Logging perspective, and choose Start Profiling. To refresh the log, right-click the log entry in the Profiling and Logging perspective, and select Refresh Views.