Hello,
I'm looking for a way to keep the connection log with the current Windows OpenVPN GUI client. The current situation is that every time you start establishing a VPN connection, the client's protocol is overwritten. The log-append option in the .ovpn configuration file does not change this.
The only solution I currently have is to start the client manually with the --log-append option from a command line or to start a script with an up or down in the configuration file, which somehow saves the log file but doesn't always work reliably.
It would be ideal if a new log file was created every time a connection is established. But it doesn't work that way.
Am I missing something or are there other ways to solve the problem?
log-append or something similar
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Sep 24, 2024 6:17 am
Re: log-append or something similar
Not sure how it works on Windows, but on Linux the output is piped to /var/log/syslog, provided that --log-append is not invoked, where it can easily be grepped with a regex. This way it won't be overwritten and you can control it.