Re: Can a configuration item be cleared in the server.conf file

Mathias Jeschke <[email protected]>
Newsgroups gmane.network.openvpn.user
Message-ID <[email protected]>
Bo Berglund wrote:
> I tried the service restart and it worked inasfar as the logs now look like this
> example:
>
> Mon Feb  5 09:42:42 2024 us=734354 succeeded -> ifconfig_pool_set()
>
> Now I just need to get it to display as yyyy-mm-dd hh:mm:ss so it would be
> useful for me.
>
> I really wonder why it uses this terrible illogical display with the day name
> first?
>
> So how can I change it to use the ISO 8601 format?

journalctl has an the "-o" option to adjust the timestamp output (see 
"man journalctl"):

journalctl -o short-iso -u <your-openvpn-service-name>

Cheers,
Mathias
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.