Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 16 November 2024, 04:08:53 pm

Login with username, password and session length

Visit the Official Endian Reference Manual  HERE
14258 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
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 14443 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 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com