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 Sun, Jan 21, 2024 at 09:08:01PM +0100, Bo Berglund wrote:
> Now I wonder if there is anything at all one can do on a server instance level
> to disable that setting such that the timestamps are returned to the logfiles?
> Like:
> "reset suppress-timestamps"
> or similar?
OpenVPN does not assume to be called from something that sets undesired
variables to be cleared again later on - which would make the config
handling even more complex than it is today.
Systemd assumes that the world behaves like systemd developers think
it should, so "no timestamps" and "all logs go to the systemd journal".
If you do not want that, you unfortunately need to change both places,
openvpn config (to change log file location) and systemd unit to get rid
of the "--suppress-timestamps" setting. Fortunately, this is still allowed.
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----- iQGcBAEBAgAGBQJlrYnSAAoJEB2Cnv7KVigSqXQL/18fj82P9JCycdOB1Vv7uxBQ 0130lffrW87KqMc0WdJKPaIlu1MPah8B45ss8kHqFcm3OaZ4AvI3G+g4gyNFcO1z gu+S5oLhi1rZaNMS3p0L0tqmaTIXj80FgawyWdXaed3lIW2HvV6Z7ROlMe8+RFMV +qhBEsdqTDIiPjPveW82uCltIRCD1McKuQkGRRteOEUuB5+KFVnTUI81o5BI9u3R FGvevfSUkbvavFOOiJHfQe8E7K4jQA1V5u9bqUQx8CzXBLC8IbynmlRqzdpt8CBN HP8uQ8AYFpHrJU+uLshQxtYU7Cwe2dzwvcT/jW6s9YhBrPvAUJXX7sMfdnTSCnY0 5ChaAUvAzFhUW8cijCqK0fnGOS9wxKFmObRbrx8DLFftUzeMayBdZFIbau+pOeko ueoJBkCMeEYFOSnLHM4yfSgRk9dvqqsz2knTeP+Q4fQS2dxf9Q0+vC/P1snOMQKj zJKxxqgCT7jDtGaxY2a7wRKRu7tDKTbqi6sQKpujAg== =wrPy -----END PGP SIGNATURE-----