summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_update_syslog.pl
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-03-20 08:04:53 -0400
committerKim Hagen <kim.sidney@gmail.com>2016-03-20 08:04:53 -0400
commit7f2baa3eab8f35c401ab5e68fc260a0fad3bbdae (patch)
treecba20204d52433447a6ec32fb329e2bb60046f67 /scripts/system/vyatta_update_syslog.pl
parenta4972b67ee05e915cf9e9ee3e20300905f734e03 (diff)
downloadvyatta-cfg-system-7f2baa3eab8f35c401ab5e68fc260a0fad3bbdae.tar.gz
vyatta-cfg-system-7f2baa3eab8f35c401ab5e68fc260a0fad3bbdae.zip
fix "Output Channel" config so logging will work
Diffstat (limited to 'scripts/system/vyatta_update_syslog.pl')
-rwxr-xr-xscripts/system/vyatta_update_syslog.pl2
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;