On Fri, 23 Feb 2024 11:36:39 +0000, Peter Davis via Openvpn-users <openvpn-users@lists.sourceforge.net> wrote:
>> On Friday, February 23rd, 2024 at 2:50 PM, Bo Berglund >> <bo.bergl...@gmail.com> wrote: > >> On Fri, 23 Feb 2024 10:33:19 +0000, Peter Davis via Openvpn-users >> openvpn-users@lists.sourceforge.net wrote: >> >> > # mkdir /etc/openvpn/Log/ >> > >> > Then, changed the script as below: >> > >> > LOG_FILE="/etc/openvpn/Log/Connections.log" >> > >> > Then: >> > >> > # systemctl restart openvpn >> > >> > But: >> > >> > # ls /etc/openvpn/Log/ >> > # >> > >> > No files have been created. >> >> >> Logfile is created following a login to the >> OpenVPN server you have configured for logging. >> >> >> -- >> Bo Berglund >> Developer in Sweden >> >> >> >> _______________________________________________ >> Openvpn-users mailing list >> Openvpn-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/openvpn-users > >Hi, >What do you mean? In your comment above you said that you restarted openvpn: >> > # systemctl restart openvpn but there was no logfile. That is why I said that the logfile is created *when a user logs in* and data are added to the end of that logfile (which will be created if it does not yet exist). -- Bo Berglund Developer in Sweden _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users