That does the following:
- Connects to the terminal server gsets2 via telnet on port 4004
- Logs all of the console output to the file /home/epics/logs/13IDA.log
- Allows
multiple users on the Linux system to connect to the console port at the same time using the command:
telnet localhost 20024
The log file has a timestamp on every line, so you can see when
error messages were generated. Here is an example:
[Fri Jan 20 09:17:14 2023] sevr=minor Motor motion
timeout ERROR on card: 2, signal: 0
This solution won't put the log output in the
same place that logMsg would, but at least it will be on your Linux server where you can search it.
Mark