summaryrefslogtreecommitdiff
path: root/lib/Vyatta/VPN
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2011-06-15 18:28:18 -0700
committerBob Gilligan <gilligan@vyatta.com>2011-06-15 18:28:18 -0700
commit934f5ca6af3e7c603be04df3d5212bd228d00e49 (patch)
tree7f235e175073537c4effb62e381258cd86a3b20f /lib/Vyatta/VPN
parent9d095443921c0414def931591595f9903e90af83 (diff)
downloadvyatta-cfg-vpn-934f5ca6af3e7c603be04df3d5212bd228d00e49.tar.gz
vyatta-cfg-vpn-934f5ca6af3e7c603be04df3d5212bd228d00e49.zip
Bugfix 6767: Move /tmp/ipsec.log to /var/log/vyatta and rotate it.
Diffstat (limited to 'lib/Vyatta/VPN')
-rwxr-xr-xlib/Vyatta/VPN/Util.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/VPN/Util.pm b/lib/Vyatta/VPN/Util.pm
index ec5200e..f7dc320 100755
--- a/lib/Vyatta/VPN/Util.pm
+++ b/lib/Vyatta/VPN/Util.pm
@@ -131,7 +131,7 @@ sub vpn_debug {
sub vpn_log {
my ($msg) = @_;
- open my $log, '>>', "/tmp/ipsec.log"
+ open my $log, '>>', "/var/log/vyatta/ipsec.log"
or return;
my $timestamp = strftime("%Y-%m-%d %H:%M.%S", localtime);