[stunnel-users] Clear LogWindow without Restart stunnel possible?
Michael D. Setzer II
mikes at kuentos.guam.net
Fri Nov 1 11:22:45 CET 2013
On 1 Nov 2013 at 10:23, Ben Stover wrote:
From: "Ben Stover" <bxstover at yahoo.co.uk>
To: "Stunnel Users" <stunnel-users at mirt.net>
Date sent: Fri, 01 Nov 2013 10:23:01 +0100
Priority: Normal
Subject: [stunnel-users] Clear LogWindow without Restart stunnel
possible?
> Can I somehow clear the current LogWindows WITHOUT exit+restarting
> stunnel?
>
Are you talking about Linux or WIndows?
On my linux machines I have a script that I use to reduce the size after it gets
to big.
if [ `ls -l /var/log/stunnel.log | awk '{print $5}'` -gt 50000 ] ; then
truncate -c -s 473 /var/log/stunnel.log
fi
The truncate command changes the size and has it continue adding new
records, where other options prevented it from adding records.
Don't know if that is an option under windows.
>
> _______________________________________________
> stunnel-users mailing list
> stunnel-users at stunnel.org
> https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:mikes at kuentos.guam.net
mailto:msetzerii at gmail.com
http://www.guam.net/home/mikes
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+
http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)
BOINC at HOME CREDITS
ROSETTA 9000652.927335 | SETI 16554266.605703
ABC 16392879.502790 | EINSTEIN 13990817.239852
More information about the stunnel-users
mailing list