Re: Client history

Bo Berglund <[email protected]>
Newsgroups gmane.network.openvpn.user
Message-ID <[email protected]>
On Fri, 23 Feb 2024 11:36:39 +0000, Peter Davis via Openvpn-users
<[email protected]> wrote:

>> On Friday, February 23rd, 2024 at 2:50 PM, Bo Berglund <[email protected]> wrote:
>
>> On Fri, 23 Feb 2024 10:33:19 +0000, Peter Davis via Openvpn-users
>> [email protected] 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
>> [email protected]
>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.