diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2011-06-15 18:28:18 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2011-06-15 18:28:18 -0700 |
commit | 934f5ca6af3e7c603be04df3d5212bd228d00e49 (patch) | |
tree | 7f235e175073537c4effb62e381258cd86a3b20f /lib | |
parent | 9d095443921c0414def931591595f9903e90af83 (diff) | |
download | vyatta-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')
-rwxr-xr-x | lib/Vyatta/VPN/Util.pm | 2 |
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); |