Homec4science

Send an explicit log message from daemons when they receive a signal

Authored by epriestley <git@epriestley.com> on Jul 23 2013, 21:11.

Description

Send an explicit log message from daemons when they receive a signal

Summary: Ref T3557. Currently, we print a message to stdout with echo but don't actually log it. Instead, log it explicitly. This still prints it, but timestamps it, shows signal information, and gets it into the log. Notably, this helps distinguish between standard healthy exits (responding to SIGINT) and less-healthy ones.

Test Plan: {F51255}

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, kartikvishwanath

Maniphest Tasks: T3557

Differential Revision: https://secure.phabricator.com/D6545

Details

Committed
epriestley <git@epriestley.com>Jul 23 2013, 21:11
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU47f61a261072: Reduce daemon restart delay from 60s to 5s
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUe7e8f6c0c593: Send an explicit log message from daemons when they receive a signal (authored by epriestley <git@epriestley.com>).Jul 23 2013, 21:11