aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Process.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-03-12 18:13:42 +0000
committerPascal Terjan <pterjan@mageia.org>2012-03-12 18:13:42 +0000
commit8d9f708ca0b3613a99a2b85f25ef6fad76f16b02 (patch)
tree3b1e900740ad848d6fd93ee5cfcbf24f192600d6 /lib/Iurt/Process.pm
parente480bd5ef56ce52442aa1330a30f03fbf04ff2f9 (diff)
downloadiurt-8d9f708ca0b3613a99a2b85f25ef6fad76f16b02.tar
iurt-8d9f708ca0b3613a99a2b85f25ef6fad76f16b02.tar.gz
iurt-8d9f708ca0b3613a99a2b85f25ef6fad76f16b02.tar.bz2
iurt-8d9f708ca0b3613a99a2b85f25ef6fad76f16b02.tar.xz
iurt-8d9f708ca0b3613a99a2b85f25ef6fad76f16b02.zip
Get rid of ERR log level
Diffstat (limited to 'lib/Iurt/Process.pm')
-rw-r--r--lib/Iurt/Process.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Iurt/Process.pm b/lib/Iurt/Process.pm
index 88aa544..f53c5e0 100644
--- a/lib/Iurt/Process.pm
+++ b/lib/Iurt/Process.pm
@@ -49,7 +49,7 @@ sub check_pid {
close $test_PID;
if (!$pid) {
- plog('ERR', "ERROR: invalid pidfile ($pid), should be <pid>");
+ plog('ERROR', "ERROR: invalid pidfile ($pid), should be <pid>");
unlink $pidfile;
}
@@ -253,7 +253,7 @@ sub perform_command {
if (ref $opt{wait_regexp}{$wr}) {
$inc = $opt{wait_regexp}{$wr}(\%opt, $output);
}
- plog('ERR', "ERROR: $wr !");
+ plog('ERROR', "ERROR: $wr !");
sendmail($config->{admin}, '' , "$opt{hash} on $run->{my_arch} for $run->{media}: could not proceed", "$wr\n\n$comment\n$output", "Iurt the rebuild bot <$config->{admin}>", $opt{debug_mail}, $config) if $opt{wait_mail};
}
@@ -271,7 +271,7 @@ sub perform_command {
if (!$call_ret || $kill || $err || $opt{error_regexp} && $fulloutput =~ /$opt{error_regexp}/) {
- plog('ERR', "ERROR: call_ret=$call_ret kill=$kill err=$err ($opt{error_regexp})");
+ plog('ERROR', "ERROR: call_ret=$call_ret kill=$kill err=$err ($opt{error_regexp})");
if ($opt{log} && $config->{log_url}) {
$comment = qq(See $config->{log_url}/$run->{distro_tag}/$run->{my_arch}/$run->{media}/log/$opt{srpm}/\n\n$comment);