This commit is contained in:
Denis Fedoseev 2019-03-20 15:39:51 +03:00
parent 0bd73580aa
commit 0cb5749afc

View file

@ -13,6 +13,7 @@ sub new {
$self->{file} = $params{file}; $self->{file} = $params{file};
# TODO: Allow logrotate
open my $fh, '>>', $params{file} or die $!; open my $fh, '>>', $params{file} or die $!;
if (defined $params{'synced'}) { if (defined $params{'synced'}) {
$fh->autoflush(1); $fh->autoflush(1);