aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2008-03-14 15:17:37 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2008-03-14 15:17:37 +0000
commit80c263e188e1f3907d1de91e2d38d7814d22b7aa (patch)
tree73be6ccf67391c6c34e456beb1c8748e46c60ce9
parent9f2fd4d57e5ff5511b3879f407c797a53e12f351 (diff)
downloadrpm-helper-80c263e188e1f3907d1de91e2d38d7814d22b7aa.tar
rpm-helper-80c263e188e1f3907d1de91e2d38d7814d22b7aa.tar.gz
rpm-helper-80c263e188e1f3907d1de91e2d38d7814d22b7aa.tar.bz2
rpm-helper-80c263e188e1f3907d1de91e2d38d7814d22b7aa.tar.xz
rpm-helper-80c263e188e1f3907d1de91e2d38d7814d22b7aa.zip
fix syslog-ng level setting
-rwxr-xr-xadd-syslog2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-syslog b/add-syslog
index 773530b..c846218 100755
--- a/add-syslog
+++ b/add-syslog
@@ -221,7 +221,7 @@ sub add_syslogng_entry {
}
if (!$level_id) {
$level_id = 'f_level_' . $package;
- print $out "filter $level_id { facility($level); };\n";
+ print $out "filter $level_id { level($level); };\n";
}
print $out "log { source($source_id);" .
" filter($facility_id);" .