Re: [Openvpn-devel] SIGHUP SIGUSR1 new logfile

2008-05-12 Thread Bonno Bloksma
-12 / 5611 el eindhoven t 040 296 28 28 / f 040 237 35 20 b.blok...@tio.nl / www.tio.nl - Original Message - From: Alon Bar-Lev To: Bonno Bloksma Cc: openvpn-devel@lists.sourceforge.net Sent: Saturday, May 10, 2008 11:29 PM Subject: Re: [Openvpn-devel] SIGHUP SIGUSR1

Re: [Openvpn-devel] SIGHUP SIGUSR1 new logfile

2008-05-10 Thread Alon Bar-Lev
Original Message - > From: Alon Bar-Lev > To: Bonno Bloksma > Cc: openvpn-devel@lists.sourceforge.net > > Sent: Saturday, May 10, 2008 9:51 AM > Subject: Re: [Openvpn-devel] SIGHUP SIGUSR1 new logfile > > SIGUSR1 is used for other stuff in openvpn. > > Why don

Re: [Openvpn-devel] SIGHUP SIGUSR1 new logfile

2008-05-10 Thread Bonno Bloksma
: [Openvpn-devel] SIGHUP SIGUSR1 new logfile 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

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

[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