Ref T7352. Currently, if you ^C a daemon while the subprocess is not running (e.g., wiating to restart after a failure) we just exit without actually emitting the EXIT event.
This can leave the daemon log hanging around in the database until it eventually expires.
Instead, make sure this event always gets emitted when a daemon responds to ^C.