diff options
author | Eric Wong <e@80x24.org> | 2015-09-19 02:03:39 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-09-19 04:18:44 +0000 |
commit | 0ab6aa2a5a3aa95bf9946611c25e8ac4254e37fb (patch) | |
tree | 265c336304009232e3672320ca19f0225da1744f /public-inbox-nntpd | |
parent | 2e8669171f148ecfd410cca543f8794d0f3d69a5 (diff) | |
download | public-inbox-0ab6aa2a5a3aa95bf9946611c25e8ac4254e37fb.tar.gz |
This will allow us to redirect stdout/stderr more easily for logging.
Diffstat (limited to 'public-inbox-nntpd')
-rw-r--r-- | public-inbox-nntpd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public-inbox-nntpd b/public-inbox-nntpd index 7fec840e..0c221fa3 100644 --- a/public-inbox-nntpd +++ b/public-inbox-nntpd @@ -44,6 +44,8 @@ sub new { my ($class) = @_; my $self = fields::new($class); $self->{groups} = {}; + $self->{err} = \*STDERR; + $self->{out} = \*STDOUT; $self; } |