I am running several Screen sessions in the same directory at the same time.
When the program in a certain session is completed, this session is terminated automatically. However, I need to check the output of the session. So I tried to use "screen -L" to keep a log. However, the outputs of all the sessions were logged into a single file, screenlog.0 (several lines from one session and then several lines from another session... which is impossible to read).
Is there a method to record different sessions to different log files?
例如,您可以在 screenrc 中使用logfile
命令。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.