bon_go
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?
tunnel_friend
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.
opoplawski
I'm faced with the same issue. It would be nice if the client could save the previous log with a .1 or .bak extension.