[copy-edit approved][SME approved]How to test the Logfile microagent in a rulebase?

[copy-edit approved][SME approved]How to test the Logfile microagent in a rulebase?

book

Article ID: KB0088181

calendar_today

Updated On:

Products Versions
TIBCO Hawk -
Not Applicable -

Description

Resolution:
[SME Comments] Recommended Scope: Customer
Description:
===========================
You sometimes encounter a problem when testing the rulebase using the Logfile microagent. You add a line in the log file being monitored but you do not get the expected action.

Environment:
===========================
All

Resolution:
============================
Normally this is caused by using an incorrect method when adding a new line in the log file. A user should not use any text edit tool to edit the log file. The best way is to use the "echo" command to append a test line at the end of the log file, such as the following:

echo <testline> >> <logfile>

Issue/Introduction

[copy-edit approved][SME approved]How to test the Logfile microagent in a rulebase?