Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 5 General Activities Palette : Write To Log

Write To Log
Activity
This activity writes a message to the log. There is one log file for each process engine.
Depending upon whether you are using a process engine in testing mode or a deployed process engine, the logs are stored in different locations. During test mode, the logs are stored in the TIBCO ActiveMatrix BusinessWorks working directory under the logs subdirectory. See TIBCO Designer User’s Guide for more information about specifying the working directory. For deployed process engines, the log location is specified by custom engine properties. See TIBCO ActiveMatrix BusinessWorks Administration for more information about custom engine properties.
Configuration
The Configuration tab has the following fields.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design for more information about mapping and transforming input data.
The input for the activity is the following.
Note: When the message contains non-ASCII data, the default encoding of the Java Virtual Machine used by the TIBCO ActiveMatrix BusinessWorks process engine is used to encode the text when writing to the log file.
Output
This activity produces no output.
Custom Properties for the Write To Log Activity
In some situations, you may want to specify which messages are sent to the log file. You can use custom engine properties to specify which roles are enabled or disabled for log messages. You may configure the following properties:
Trace.<roleName>.Log — Setting this property to false disables writting messages for the specified role name to the log.
Trace.<roleName>.* — Setting this property to false disables all messages for the specified role. The specified role can be one of the following system roles: ERROR, WARN, DEBUG, or INFO.
Trace.Role.<roleName> — Setting this property to false disables all messages for the specified user-defined role. Setting Trace.Role.* to false disables all messages to all user-defined roles.
Trace.Role.* — Setting this property to false disables all messages for all user-defined roles.
You can also specify the character encoding of the log file by using the log.file.encoding property.
See TIBCO ActiveMatrix BusinessWorks Administration for more information about setting custom engine properties.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved