Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-22 Thread Nathan Stratton Treadway
On Wed, Jun 22, 2022 at 12:38:24 +0200, Bo Berglund wrote: > On Tue, 21 Jun 2022 01:52:48 -0400, Nathan Stratton Treadway > wrote: > > >On Mon, Jun 20, 2022 at 08:51:47 +0200, Bo Berglund wrote: > > > >> Originally I used OpenVPN since around 2014 on RaspberryPi to access my > >> home > >> LAN.

Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-22 Thread Nathan Stratton Treadway
On Wed, Jun 22, 2022 at 16:11:40 +0200, David Sommerseth wrote: > On 20/06/2022 00:10, Nathan Stratton Treadway wrote: > >On Sun, Jun 19, 2022 at 23:03:15 +0200, Bo Berglund wrote: > >>I get this: > >> > >>dpkg -L openvpn | grep systemd.*openv > >>/lib/systemd/system-generators/openvpn-generator >

Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-22 Thread Bo Berglund
On Wed, 22 Jun 2022 15:58:35 +0200, David Sommerseth wrote: >> But will journalctl work independently of the openvpn log option settings, >> like >> verbosity etc? >> I have this now in the two instance conf files: >> >> log /etc/openvpn/log/openvpn.log >> verb 4 >> mute 10 >> >> and: >> >> l

Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-22 Thread David Sommerseth
On 20/06/2022 00:10, Nathan Stratton Treadway wrote: On Sun, Jun 19, 2022 at 23:03:15 +0200, Bo Berglund wrote: I get this: dpkg -L openvpn | grep systemd.*openv /lib/systemd/system-generators/openvpn-generator /lib/systemd/system/openvpn.service /lib/systemd/system/openvpn@.service /usr/lib/sy

Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-22 Thread David Sommerseth
On 18/06/2022 23:20, Bo Berglund wrote: On Sat, 18 Jun 2022 20:01:10 +, tincantech via Openvpn-users wrote: If you want your log-file to contain time-stamps then edit the file: /lib/systemd/system/openvpn-server@.service remove '--supress-timestamps' I cannot find such a file... Well,

Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-22 Thread David Sommerseth
On 18/06/2022 10:26, Bo Berglund wrote: On Wed, 15 Jun 2022 22:58:46 +0200, David Sommerseth wrote: [...snip...] But will journalctl work independently of the openvpn log option settings, like verbosity etc? I have this now in the two instance conf files: log /etc/openvpn/log/openvpn.log verb

Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-22 Thread Bo Berglund
On Tue, 21 Jun 2022 01:52:48 -0400, Nathan Stratton Treadway wrote: >On Mon, Jun 20, 2022 at 08:51:47 +0200, Bo Berglund wrote: > >> Originally I used OpenVPN since around 2014 on RaspberryPi to access my home >> LAN. I did not have an Ubuntu server back then. >> Then in 2016 I built the Ubuntu s