angristan / angristan/openvpn-install

no timestamps are provided in the log files

未关闭
#1,479 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
16.1k
派生
3.3k
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。