]> git.corax.cc Git - toolbox/commit
include/log: Remove timestamp and pid from log path
authorMatthias Kruk <m@m10k.eu>
Tue, 6 Apr 2021 23:44:48 +0000 (08:44 +0900)
committerMatthias Kruk <m@m10k.eu>
Tue, 6 Apr 2021 23:44:48 +0000 (08:44 +0900)
commit15cb828162605ed1a1623804d7189dda1b70f86b
tree1052469268b3825a79d260c3140805df4583eb86
parent93f9dbabf93de68c0426aaaf118a3604b881f690
include/log: Remove timestamp and pid from log path

Having the timestamp and pid in the log path causes a large number of
log files to be generated, which makes it difficult to find the correct
one.
This commit removes the timestamp and pid from the log path, causing
all processes with the same name to log to the same file. To distinguish
individual processes, the log_write() function will also log the pid of
the calling process.
include/log.sh