]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: use per-listener SIG{__WARN__} callbacks
authorEric Wong <e@80x24.org>
Mon, 8 Aug 2022 23:53:08 +0000 (23:53 +0000)
committerEric Wong <e@80x24.org>
Tue, 9 Aug 2022 16:41:51 +0000 (16:41 +0000)
commit60d262483a4d6ddf295f5124aed3672866795ee5
tree191993a87300db06ce44ff566142e37b1ec67f28
parent86389293edbe3273b3ff0f61cbeb9cb6a0dfe2f2
daemon: use per-listener SIG{__WARN__} callbacks

This allows "-l $ADDRESS?err=/path/to/err.log to isolate normal
warn() (and carp()) messages for a particular listen address to
track down errors more easily.
lib/PublicInbox/Daemon.pm
lib/PublicInbox/HTTP.pm
lib/PublicInbox/HTTPD.pm
lib/PublicInbox/IMAP.pm
lib/PublicInbox/NNTP.pm
lib/PublicInbox/POP3.pm