Hello,
I currently have OpenVPN client installed on Windows 7. I want to disable all sorts of logs by the client application and would want it to remove (/shred) the session history as soon as I disconnect from the openvpn server.
Any recommendations? Thanks!!
Disable all logs
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Disable all logs
disable logs using verb 0
Michael.
Michael.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Thu Dec 04, 2014 12:52 pm
Re: Disable all logs
Can you kindly elaborate as where exactly I need to put verb 0. I am completely new to the VPN world. Thanks
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Disable all logs
to your config file,
btw which "client" do you have?
Michael.
btw which "client" do you have?
Michael.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Thu Dec 04, 2014 12:52 pm
Re: Disable all logs
I am currently using the OpenVPN GUI client on Windows Server 2012.
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Disable all logs
did you managed to edit your config?
Michael.
Michael.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Sat Mar 09, 2019 9:10 am
Re: Disable all logs
To add 'verb 0' to the client config, I opened the OpenVPN admin console, and clicked on "Advanced VPN Settings". At the bottom of the screen, I typed 'verb 0' (less the quotes) in the 'Client Config Directives'. 'verb' means how 'verbose' to make the log entries. '0' means 'silent except for fatal errors'. After you save the changes, you have to scroll to the top and click the button to update the running server.
I then removed and reinstalled the OpenVPN client on the user's computer, and now the log under 'C:\Program Files (x86)\OpenVPN Technologies\OpenVPN Client\etc\log' is exponentially smaller. I tried simply stopping and restarting the OpenVPN service on another user's machine, and it didn't seem to decrease the logging. So maybe uninstalling and reinstalling is the only way to force it to pull down the new 'verb 0' param. I don't know for sure.
My problem was that in about 3 hours, the user log grew to 40+ Gigs. All because their Win10 went to sleep, and when it woke up, the VPN client didn't properly reconnect and then got caught in a loop of trying to reconnect with WAY to much data being pushed to the log with each retry.
I then removed and reinstalled the OpenVPN client on the user's computer, and now the log under 'C:\Program Files (x86)\OpenVPN Technologies\OpenVPN Client\etc\log' is exponentially smaller. I tried simply stopping and restarting the OpenVPN service on another user's machine, and it didn't seem to decrease the logging. So maybe uninstalling and reinstalling is the only way to force it to pull down the new 'verb 0' param. I don't know for sure.
My problem was that in about 3 hours, the user log grew to 40+ Gigs. All because their Win10 went to sleep, and when it woke up, the VPN client didn't properly reconnect and then got caught in a loop of trying to reconnect with WAY to much data being pushed to the log with each retry.