diff options
Diffstat (limited to 'scripts/system/vyatta_update_syslog.pl')
| -rwxr-xr-x | scripts/system/vyatta_update_syslog.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_syslog.pl b/scripts/system/vyatta_update_syslog.pl index 3421d61a..7d12284e 100755 --- a/scripts/system/vyatta_update_syslog.pl +++ b/scripts/system/vyatta_update_syslog.pl @@ -65,6 +65,7 @@ sub get_target_param { my %facmap = ( 'all' => '*', 'protocols' => 'local7', + 'dataplane' => 'local6', ); # This builds a data structure that maps from target @@ -93,7 +94,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; |
