diff options
author | Marcelo Leitner <mrl@mandriva.com> | 2008-02-21 17:44:42 +0000 |
---|---|---|
committer | Marcelo Leitner <mrl@mandriva.com> | 2008-02-21 17:44:42 +0000 |
commit | f7435483f8ed7d0e54aebb491796305e977e4b6f (patch) | |
tree | 9ae55d96dd1058c4440ed6a52f1462557190d8a6 | |
parent | c0b731c9f7468f646480610715e2dfbd708daf28 (diff) | |
download | iurt-f7435483f8ed7d0e54aebb491796305e977e4b6f.tar iurt-f7435483f8ed7d0e54aebb491796305e977e4b6f.tar.gz iurt-f7435483f8ed7d0e54aebb491796305e977e4b6f.tar.bz2 iurt-f7435483f8ed7d0e54aebb491796305e977e4b6f.tar.xz iurt-f7435483f8ed7d0e54aebb491796305e977e4b6f.zip |
- Honor log level switch
-rwxr-xr-x | iurt2 | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -353,9 +353,7 @@ $run{todo} = []; open(my $LOG, ">&STDERR"); $run{LOG} = sub { print $LOG @_ }; -plog_init($program_name, $LOG, $run{verbose}, 1); -#plog_init($program_name, $LOG, 7, 1); # CM: hardcoded for now, will fix ASAP - +plog_init($program_name, $LOG, 7, 1); # For parsing command line # Display version information # @@ -373,6 +371,9 @@ foreach my $t (@$todo) { &{$t->[0]}(@{$t->[1]}) or plog('ERR', $t->[2]); } +# Use the real verbose level +plog_init($program_name, $LOG, $run{verbose}, 1); + $run{distro_tag} = $run{distro}; $run{distro_tag} =~ s,/,-,g; |