diff options
-rw-r--r-- | lib/Multi/Core.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Multi/Core.pm b/lib/Multi/Core.pm index c40be430..830ca657 100644 --- a/lib/Multi/Core.pm +++ b/lib/Multi/Core.pm @@ -62,7 +62,7 @@ sub log { # level, msg $_[ARG1] ? sprintf($_[ARG0], @_[ARG1..$#_]) : $_[ARG0]; open(my $F, '>>', $VNDB::M{log_dir}.'/multi.log'); - printf "[%s] %s\n", scalar localtime, $msg; + printf $F "[%s] %s\n", scalar localtime, $msg; close $F; } |