Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 01 November 2024, 07:20:17 pm

Login with username, password and session length

Visit the Official Endian Bug tracker  HERE
14248 Posts in 4376 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  Installation Support
| | |-+  OpenVPN Log Retention
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: OpenVPN Log Retention  (Read 13984 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.031 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com