<< Click to Display Table of Contents >> Manual > Server Creation Guide > Action Edition > Action Reference > Logger Action (Logging Only) > How to configure mixed logging |
Including multiple tag values in an event-based log (mixed log)
In event-based logs, in addition to information about the tag that caused the event, the values of other tags can also be stored in the same record. This type of log format is called a "mixed log."
The method for creating a mixed log is almost the same as setting up an event-type log. The setup procedure is to first add a "tag field" to the logger action that is set to perform event-type logging. Then, set the tag path of the tag you want to include in the log to the added tag field.
For information on how to configure an event-based log, see "Example of configuring an event-based log".
In the following format example, "D0001" and "M0001" are output to the end of the event-type log format by the tag field.
(Example of mixed log format)
time |
Tag Name |
value |
D0001 |
M0001 |
2003/1/1 10:12:00 |
U01.F01.SD005 |
81 |
2 |
True |
2003/1/1 10:12:01 |
U01.F01.SD001 |
163 |
5 |
True |
2003/1/1 10:12:02 |
U01.F01.SD004 |
41 |
8 |
False |
... |
... |
... |
... |
... |