diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-03-20 08:04:53 -0400 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-03-20 08:04:53 -0400 |
commit | 7f2baa3eab8f35c401ab5e68fc260a0fad3bbdae (patch) | |
tree | cba20204d52433447a6ec32fb329e2bb60046f67 | |
parent | a4972b67ee05e915cf9e9ee3e20300905f734e03 (diff) | |
download | vyatta-cfg-system-7f2baa3eab8f35c401ab5e68fc260a0fad3bbdae.tar.gz vyatta-cfg-system-7f2baa3eab8f35c401ab5e68fc260a0fad3bbdae.zip |
fix "Output Channel" config so logging will work
-rwxr-xr-x | scripts/system/vyatta_update_syslog.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_syslog.pl b/scripts/system/vyatta_update_syslog.pl index dd834c92..37d017e3 100755 --- a/scripts/system/vyatta_update_syslog.pl +++ b/scripts/system/vyatta_update_syslog.pl @@ -93,7 +93,7 @@ sub print_outchannel { # Force outchannel size to be 1k more than logrotate config to guarantee rotation $size = ($size + 5) * 1024; print $fh "\$outchannel $channel,$target,$size,/usr/sbin/logrotate ${LOGROTATE_CFG_DIR}/$channel\n"; - print $fh join( ';', @{ $entries{$target}{selector} } ), " \$$channel\n"; + print $fh join( ';', @{ $entries{$target}{selector} } ), " :omfile:\$$channel\n"; } my $config = new Vyatta::Config; |