summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-08-09 10:12:20 +0200
committerYorhel <git@yorhel.nl>2009-08-09 10:12:20 +0200
commit82474e20ec92963037fe444185bd7a718ab86591 (patch)
tree315769a30aceef26d4a2bb4d7a81b10104d585ae
parentf0417c6752873c4d6191c7b5f90ac4e44853fd55 (diff)
Multi::Core: Actually log to file instead of stdout
-rw-r--r--lib/Multi/Core.pm2
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;
}