Page 1 of 1

Disable all logs

Posted: Thu Dec 04, 2014 12:55 pm
by pjalan
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!! :)

Re: Disable all logs

Posted: Thu Dec 04, 2014 5:27 pm
by maikcat
disable logs using verb 0

Michael.

Re: Disable all logs

Posted: Fri Dec 05, 2014 1:59 am
by pjalan
Can you kindly elaborate as where exactly I need to put verb 0. I am completely new to the VPN world. Thanks :)

Re: Disable all logs

Posted: Fri Dec 05, 2014 6:43 am
by maikcat
to your config file,

btw which "client" do you have?

Michael.

Re: Disable all logs

Posted: Sat Feb 07, 2015 6:38 pm
by pjalan
I am currently using the OpenVPN GUI client on Windows Server 2012.

Re: Disable all logs

Posted: Mon Feb 09, 2015 6:51 am
by maikcat
did you managed to edit your config?

Michael.

Re: Disable all logs

Posted: Sat Mar 09, 2019 9:27 am
by JimVern
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.