angristan / angristan/openvpn-install

no timestamps are provided in the log files

Open
#1,479 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
16.1k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

I know that in the default server configuration there are no server logs but after adding additional options so that as an administrator i must have full insight into the logs (simpy add log /var/log/openvpn/openvpn.log and log-append /var/log/openvpn/openvpn.log to server.conf) I noticed that there is no specific date in the log files /var/log/openvpn/openvpn.log (no timestamps in log files)

OpenVPN connection use systemd so after that i figure out that when i edit service

`sudo nano /etc/systemd/system/openvpn-server@.service`

and remove --suppress-timestamps after i restart openvpn-server timestamps are now provided in the log files.

Anyone who analyzes logs would rather know the exact day or time the error occurred, so I think this should also be corrected when service is creating.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.