Limiting size of client.txt when running in service-mode

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
chipconnection
OpenVpn Newbie
Posts: 12
Joined: Wed Nov 18, 2009 3:25 am

Limiting size of client.txt when running in service-mode

Post by chipconnection » Wed Nov 18, 2009 4:15 am

Hello all,

Is there a way to limit the size of the Client.txt file in OpenVPN\Logs? I'd like to run OpenVPN as a service, but this file seems to grow quite fast even with the 'mute' switch active.
I am running OpenVPN on windows and mac OSX.

Thanks,
-John

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: Limiting size of client.txt when running in service-mode

Post by krzee » Fri Nov 20, 2009 1:39 am

This is called log file rotating.
Just by knowing that it should be easy to find a few ways to do it on each OS.
Here is one for windows: http://www.datori.org/?p=7
and osX: http://www.worldsworstsoftware.com/osxrotatelogs.html

Hope that helps

Post Reply