Re: Can a configuration item be cleared in the server.conf file
Gert Doering <[email protected]>
| Newsgroups | gmane.network.openvpn.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
On Mon, Feb 05, 2024 at 09:55:58AM +0100, Bo Berglund wrote:
> 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?
Well. There's --machine-readable-output, I think, and also
https://community.openvpn.net/openvpn/ticket/719
which says that from 2.5.0 on, there should be POSIX timestamps.
How old is your OpenVPN?
Maybe it's a bit more convoluted ("depending on logging mode, format might
be different"), but a good test would be to run
$ openvpn --show-gateway
which should print something like
2024-02-05 10:51:14 ROUTE_GATEWAY 193.149.48.190/255.255.255.192 IFACE=igb0 HWADDR=3c:ec:ef:9e:4a:a4
2024-02-05 10:51:14 ROUTE6_GATEWAY 2001:608:4::1 IFACE=igb0
... with a nice and shiny ISO timestamp.
gert
--
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
signature.asc
(application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE----- iQGcBAEBAgAGBQJlwK/WAAoJEB2Cnv7KVigSXgUMAKfzbHjigJ7CdYwh1fkXTjdM QAIMQDhYtOagQcDFk5SSPdJ5QXmkLxdxOhikjlpsE1YikEVTr7i5C47hRxYqMCfB VLXXx/Q8C68TdZjuRERIhQzGW7F8rUTOR1RHJ2jhUm7osqnC2gHVp+08tNI6sgUw m3RywGEgVeP5lCXb66mImJX65yp7BhGN7Z64TH6TiEizndfkFr/BFi4iJ3+9a/Ys Ez3MlMQIY5ToSqkMZfjuY1gc7c84icY3wwcbx+/UatmCiyU+0ByGN6I6OMIFhIHv 2wGk5+oR9LXgMkN/n3voFi0taTGpEKXtcCcP5Y61O2r5oNYiHG6r15OpCTHOi2Lm bpfQ/0m16JzUg/CaOjTYc4IA21wmN+6QCXIeaOe2aJd5umRE98N9AcUbAytsYjGn ob2pCOKXNrQY3qmII8vRNM/vlpdVizZaNisI5UvgDez0PY2uoII1TtwYdnHzVGyx vR9fW9sXk0h4w45sGzTSy4JVMWelv2HA/3RXUSwXRQ== =7oHC -----END PGP SIGNATURE-----