Designing and Managing Behavior Models
-
Alarm Actions - Log to File -
The Log to File alarm action writes information about an alarm transition to an ASCII text file.
To add a Log to File action to a transition:
New Action
button.A pop-up menu listing all the alarm actions is displayed.
Log to File
from the pop-up menu.The Log to File Action dialog is displayed.
File Name
text field, type in either a filename or a full pathname for your log file.If you enter a filename, the log file is written to the directory install_directory/Log (Windows) or install_directory/userfiles/logs (UNIX). If you enter a full pathname, the log file is written to the directory you specify.
Default Data
checkbox.
Custom Data
field, type or paste the variables you want included in the log, separating each variable with a space.On
or Off
radio button in the Enable frame.This option gives you the ability to disable logging without disabling the alarm of which the logging action is a part.
On
or Off
radio button in the Verbose Output frame.If you turn Verbose Output on, NerveCenter labels each value it writes to the log file. Otherwise, NerveCenter writes only the values, separated by commas, to the log file. This may be what you want if you are using the log file only as the basis for reports.
OK
button in the Log to File Action dialog.
OK
button in the Transition Definition window.
Save
button in the Alarm Definition window.See the table Fields in Log Entry or Mail Message for a list of the values that constitute a log file entry. And remember that if you create your log file in non-verbose mode, the values in an entry are not labeled; they are separated by commas. You may need to refer to the table mentioned above to interpret the contents of a log entry.
Log to Database | Microsoft Mail |
29 July 2003 |