> On Friday, February 23rd, 2024 at 10:58 AM, Gert Doering 
> <g...@greenie.muc.de> wrote:

> Hi
> 
> On Fri, Feb 23, 2024 at 07:05:46AM +0000, Peter Davis wrote:
> 
> > log_file="/tmp/Connections.log"
> 
> 
> Don't use /tmp in systemd environments - that was bad advice by one of
> the other posters. Systemd likes to do per-service /tmp directories,
> so your log file is likely somewhere in /tmp/systemd-private-.../tmp/
> 
> 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 g...@greenie.muc.de

Hi,
Thanks again.
You right. Logs are under 
"/tmp/systemd-private-0b76fd773c1b491090b475708960936b-openvpn\@server.service-kEyUKj/tmp/Connections.log".

Why is nothing written to the file when I create it in the "/var/log/openvpn 
directory"?

# ls -l /var/log/openvpn/
total 40
-rw-r--r-- 1 root root     0 Feb 23 10:16 Connections.log
-rw------- 1 root root   603 Feb 23 11:41 openvpn-status.log
-rw------- 1 root root 30242 Feb 23 11:40 openvpn.log


_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to