Hey!
The process openvpnserv.exe will lunch the openvpn.exe starting the command --log "C:\Users\xxxxx\OpenVPN\log\xxxxxxxxxxx.log".
Although I am using "verb 0" it will create a log file with the errors, and this log file can't be deleted as long as you are connected.
The issue with this log file aside the fact it will slow down the launch of the OpenVPN, it will reveal what server one was connected to in case of a system failure, which can be a security/privacy risk.
It would be nice to add an option in the GUI to disable logs for good without even adding the command "--log" and without creating a log file at all, this option will override the "verb" option in the config file.
An option in the GUI to disable "and override" logs!
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 12
- Joined: Sat Jun 25, 2022 11:23 am
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: An option in the GUI to disable "and override" logs!
You can completely disable the log being written to disk:
https://stackoverflow.com/questions/313 ... on-windows
https://stackoverflow.com/questions/313 ... on-windows
-
- OpenVpn Newbie
- Posts: 12
- Joined: Sat Jun 25, 2022 11:23 am
Re: An option in the GUI to disable "and override" logs!
Thanks for the reply!
There is no NUL access in Windows, at least anymore as it has been tested in Windows 7. I can confirm that NUL doesn't work on Windows 11. The only solution is a RAMDISK!
I already moved the log folder to the RAMDISK, but why creating a log file to the RAMDISK if you can simply and easily not create one? It will even boost the OpenVPN startup time.
Again it would be nice to add an option to remove the --log command and not create a log file at all, it will be optional!
There is no NUL access in Windows, at least anymore as it has been tested in Windows 7. I can confirm that NUL doesn't work on Windows 11. The only solution is a RAMDISK!
I already moved the log folder to the RAMDISK, but why creating a log file to the RAMDISK if you can simply and easily not create one? It will even boost the OpenVPN startup time.
Again it would be nice to add an option to remove the --log command and not create a log file at all, it will be optional!
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: An option in the GUI to disable "and override" logs!
Maybe, you could ask for a feature here:
https://github.com/OpenVPN/openvpn-gui
https://github.com/OpenVPN/openvpn-gui