Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 22 November 2024, 07:17:03 am

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14258 Posts in 4377 Topics by 6516 Members
Latest Member: DaveH
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  Installation Support
| | |-+  OpenVPN Log Retention
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: OpenVPN Log Retention  (Read 14683 times)
TheEricHarris
Full Member
***
Offline Offline

Posts: 86


« on: Tuesday 21 April 2015, 01:25:23 pm »

How do I have OpenVPN logs last longer than 7 days?

Logged
rossano
Jr. Member
*
Offline Offline

Posts: 1


« Reply #1 on: Thursday 01 October 2015, 09:03:18 pm »

Hi Eric

I had the same problem and find your post without solution so I'm here to share my solution.

Changed the file /etc/logrotate.d/openvpn
From:
    rotate 7
To:
    rotate 180

In the place of 180 you put many days you want to keep your openvpn log.
The logs are in /var/log/archives/openvpn.

I make this change yesterday then is still in tests but I notice the add of one more file in /var/log/archives/openvpn since yesterday (7 to Cool.

Rossano Fenner
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.042 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com