summaryrefslogtreecommitdiff
path: root/scripts/vyatta-config-loader.pl
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-02-28 17:32:15 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-02-28 17:32:15 -0800
commit4c75d7d54d28d1af48b9ae07fe0889c5386c7c44 (patch)
tree954a876cb68c73cf42c063bf46a8351747049311 /scripts/vyatta-config-loader.pl
parentc66fe9fc9f1538f8c1588a4d62a0ae561f3a973d (diff)
downloadvyatta-cfg-4c75d7d54d28d1af48b9ae07fe0889c5386c7c44.tar.gz
vyatta-cfg-4c75d7d54d28d1af48b9ae07fe0889c5386c7c44.zip
fix for bug 2912: direct config loading output to syslog.
Diffstat (limited to 'scripts/vyatta-config-loader.pl')
-rwxr-xr-xscripts/vyatta-config-loader.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-config-loader.pl b/scripts/vyatta-config-loader.pl
index 035d2af..370a669 100755
--- a/scripts/vyatta-config-loader.pl
+++ b/scripts/vyatta-config-loader.pl
@@ -9,7 +9,7 @@ use VyattaConfigLoad;
umask 0002;
if (!open(OLDOUT, ">&STDOUT") || !open(OLDERR, ">&STDERR")
- || !open(STDOUT, ">/var/log/config-boot.log")
+ || !open(STDOUT, "|/usr/bin/logger -t config-loader -p local0.debug")
|| !open(STDERR, ">&STDOUT")) {
print STDERR "Cannot dup STDOUT/STDERR: $!\n";
exit 1;