]> Sergey Matveev's repositories - public-inbox.git/commit
lei: write daemon errors to the sock directory
authorEric Wong <e@80x24.org>
Tue, 19 Jan 2021 09:34:30 +0000 (09:34 +0000)
committerEric Wong <e@80x24.org>
Thu, 21 Jan 2021 03:29:10 +0000 (03:29 +0000)
commit15bed10a92def9645d81ccb319f285e927dc3327
tree67da8bf8d67c1a385a4cdfe4e71e3df2b121ef6b
parent02afba361b5705d233ea9a92ee235d2d5122d6b8
lei: write daemon errors to the sock directory

Most everything should be captured by the __WARN__ handlers and
routed to syslog, but it appears Perl may write to stderr in
some emergency cases, as can libc or other libraries.  Just
point it to a small file that's cleared on reboot.
lib/PublicInbox/LEI.pm