junneyang / zumastor

Automatically exported from code.google.com/p/zumastor
0 stars 1 forks source link

We should log the name/description of our signals instead of the signal number. #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently when we catch a signal and log about it, we log the signal
number. This isn't terribly useful for those reading the logs, as they
either have to have memorized the mapping of signal numbers to
names/meanings, or they have to look up the signal number manually.

The "name" for a signal can be determined using strsignal(signum) in C or
`/bin/kill -l signum` in bash. Descriptions are unfortunately not
conveniently available at this time.

Original issue reported on code.google.com by cbsm...@gmail.com on 21 Feb 2008 at 2:22