[Openvpn-devel] SIGHUP SIGUSR1 new logfile

2008-05-10 Thread Bonno Bloksma
Hi, I wanted to implement a weekly logfile rotation for the openvpn logfile and noticed that it did not work, openvpn kept writing to the old logfile. If I did a manual mv openvpn.log openvpn.1 openvpn would still write to the same file, now called openvpn.1, and not start a new openvpn.log. On

Re: [Openvpn-devel] SIGHUP SIGUSR1 new logfile

2008-05-10 Thread Alon Bar-Lev
SIGUSR1 is used for other stuff in openvpn. Why don't you use syslog, catch the openvpn related messages and place them in separate file? It is much simpler and can be managed in greater flexibility. Alon. On 5/10/08, Bonno Bloksma wrote: > > > Hi, > > > > I wanted to implement a weekly logfile

Re: [Openvpn-devel] SIGHUP SIGUSR1 new logfile

2008-05-10 Thread Bonno Bloksma
Hello, I might look into the syslog way to seperate the openvpn log messages. That leaves the unwanted effect of killing the connection when doing a reload. Is that a know bug or something specific to my situation? Met vriendelijke groet, Bonno Bloksma hoofd systeembeheer tio hogeschool hos

Re: [Openvpn-devel] SIGHUP SIGUSR1 new logfile

2008-05-10 Thread Alon Bar-Lev
This is what SIGUSR1 is for. On 5/11/08, Bonno Bloksma wrote: > > > Hello, > > I might look into the syslog way to seperate the openvpn log messages. > That leaves the unwanted effect of killing the connection when doing a > reload. Is that a know bug or something specific to my situation? > > >