2.4.2 Prerequisites for a log file trap
If you use a log file trap, the following conditions must be satisfied:
-
The character codes of the files or locale information (such as LANG) listed below used when executing the following command must be unified. However, if a file (hereafter called a Unicode file) formatted in Unicode (UTF-8 or UTF-16) is monitored in Windows, you must start a log file trap by executing the jevlogstart command with the -g option specified. At this time, create an action definition file for log file trapping in the language of the OS rather than Unicode.
-
Log file to be trapped
-
Action definition file for log file trapping
-
jevlogstart command
If the character codes or locale information (such as LANG) are not unified, the characters might become garbled or log file traps might be generated.
-
-
The event service and the log-file trap management service (or daemon) are both running.
In Windows, by default the event service and the log-file trap management service are configured to start automatically when Windows starts.
In UNIX, you must execute the appropriate commands to start the event service and log-file trap management daemon. For details on starting services, see 7.2 Starting and stopping JP1/Base (in UNIX).