[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] How to flush logs?


  • Subject: Re: [Openvpn-users] How to flush logs?
  • From: Jan Just Keijser <janjust@xxxxxxxxx>
  • Date: Wed, 28 Nov 2007 11:00:48 +0100

flush the log file? if you mean empty it, try
  cp /dev/null <myfile>
this will truncate the file without interrupting openvpn.
and yes, this is a linux newbie question ;-)

HTH,

JJK

Serge Wautier wrote:
>
> Env. : Debian / OpenVPN 2.0.9
>
>  
>
> Hi All,
>
>  
>
> How can I flush the log file (--log myfile) without restarting OpenVPN.
>
> I tried to simply delete the file but OpenVPN won’t re-create it 
> unless I restart it.
>
>  
>
> Sorry in advance if this basic Linux behavior/knowledge but I’m a 
> Linux newbie.
>
>  
>
> TIA,
>
>  
>
> Serge.
>
> http://www.apptranslator.com
>
>  
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>   

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