[strace/strace] Feature request: name log files based on the executable name (#153)
notifications at github.com
Sun Sep 20 16:46:17 UTC 2020
There are several ways.
1) A file could be named after the last execve call. I.e. if processes call execve several times, the file will be renamed on each execve. So it will be named after the last executed command.
2) it could be named like 1235-1-bash and 1235-2-cp.
In the second case one could easily separate syscalls that were issued by one command from the syscalls of the execed command.
Also, may be it could be useful to allow specifying the file naming scheme with the printf-like syntax. I.e. `--log-name=%p-%n-%c.log`
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Strace-devel