On 1 Nov 2013 at 10:23, Ben Stover wrote:

From:                   "Ben Stover" <[email protected]>
To:                     "Stunnel Users" <[email protected]>
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
> [email protected]
> https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:[email protected]                            
  mailto:[email protected]
  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@HOME CREDITS
ROSETTA      9000652.927335   |   SETI        16554266.605703
ABC         16392879.502790   |   EINSTEIN    13990817.239852

_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users

Reply via email to