Log to a log file

Logs information about the triggering event to a specified text file.

Requirements
None
Result
The specified text is added to the log file. Also, applicable attributes of the event are also logged, for example, severity, event type, date, time, and IP address of the affected system. You can specify the filename and file extension of the log file, as well as its maximum file size. If the log file reaches its specified maximum size, it is renamed to filename.1, where filename is the file name that you specified. Then, a new filename.extension file is created, where extension is the file extension that you specified for the log file. The log file is located on the management server in the install_root\log directory, where install_root is the root directory of your IBM® Systems Director installation. Note that this path uses the backslash (\) to delimit the directory; depending on the system that you are using, you might be required to enter the path using the forward slash (/).
Example
Use this event action when you want to log information in a file after a specified event is generated. You can log the following information:
  • Standard information from the event.
  • Custom information that you specify.
    Tip: You can use event-data-substitution variables in the Log comment field field. For more information, see "Event-data-substitution variables."
Related concepts

Modify an event and send it
Post to a newsgroup (NNTP)
Send a numeric page
Send a Tivoli Enterprise Console event
Send an SNMP INFORM request to an IP host
Send an SNMP trap reliably to a NetView host
Send an SNMP trap to an IP host
Set an event system variable
Start a task on the system that generated the event
Static group: add or remove group members
Static group: add or remove the event-generating system
Timed alarm that generates an event
Timed alarm that starts a program

Table of Contents