diff options
Diffstat (limited to 'lib/PerlDaemon/Logger.pm')
| -rw-r--r-- | lib/PerlDaemon/Logger.pm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/PerlDaemon/Logger.pm b/lib/PerlDaemon/Logger.pm index a5d632d..0cf9c65 100644 --- a/lib/PerlDaemon/Logger.pm +++ b/lib/PerlDaemon/Logger.pm @@ -18,7 +18,6 @@ sub new ($$) { die "Instance already exists" if defined $SELF; $SELF = bless { conf => $conf }, $class; - $SELF->{queue} = []; return $SELF; @@ -29,13 +28,11 @@ sub logmsg ($$) { my $conf = $self->{conf}; my $logline = localtime()." (PID $$): $msg\n"; - { lock $self->{queue}; push @{$self->{queue}}, $logline; } $self->flushlogs(); - return undef; } |
