Aug 12
Pier Kuipers Rotating Lasso .out file
Aug 12, 2013; 16:46
Pier Kuipers
Rotating Lasso .out file
Hi guys,
Interesting problem. I'm trying to use Cron/Webmin to rotate the Lasso log
file, that is: /tmp/LassoService8.out
The idea is to stop the file becoming too large - and yes, I do realise
that I should turn off error logging on production servers, etc. ;-)
The interesting thing is, that when the rotation completes, the logfile is
0 bytes as you would expect. But as soon as Lasso logs something new to the
supposedly truncated file, it jumps back to its original size, seemingly
ignoring that fact that I tried to make it "empty".
Running a command such as
cat /dev/null > /tmp/LassoService8.out
has the same result: file appears empty, but any Lasso logging activity
will pump it straight back up.
A full Lasso restart does in fact empty the log file completely, but
obviously I'm trying to avoid that.
Anyone any suggestions?
Cheers
Pier
--
Pier Kuipers
Mobile: +353 87 294 3063
Blog: http://www.pierkuipers.com
Facebook: http://www.facebook.com/pier.kuipers
Twitter: @pkvisualid
AIM: pkvisualid
#############################################################
Attend the Lasso Developer Conference 2013!
Sept 12-14, 2013 in Niagara Falls, Canada
http://www.lassosoft.com/LDC-niagara-falls-2013
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Aug 12
Jolle Carlestam Re: Rotating Lasso .out file
Aug 12, 2013; 15:49
Jolle Carlestam
Re: Rotating Lasso .out file
Aug 12
Ke Carlton Re: Rotating Lasso .out file
Aug 12, 2013; 16:57
Ke Carlton
Re: Rotating Lasso .out file
Aug 12
Jolle Carlestam Re: Rotating Lasso .out file
Aug 12, 2013; 16:01
Jolle Carlestam
Re: Rotating Lasso .out file
Aug 12
Pier Kuipers Re: Rotating Lasso .out file
Aug 12, 2013; 17:05
Pier Kuipers
Re: Rotating Lasso .out file
Aug 12
Ke Carlton Re: Rotating Lasso .out file
Aug 12, 2013; 17:07
Ke Carlton
Re: Rotating Lasso .out file
Aug 12
Ke Carlton Re: Rotating Lasso .out file
Aug 12, 2013; 17:09
Ke Carlton
Re: Rotating Lasso .out file
Aug 12
Jolle Carlestam Re: Rotating Lasso .out file
Aug 12, 2013; 16:10
Jolle Carlestam
Re: Rotating Lasso .out file
Aug 12
Jolle Carlestam Re: Rotating Lasso .out file
Aug 12, 2013; 16:14
Jolle Carlestam
Re: Rotating Lasso .out file
Aug 12
Ke Carlton Re: Rotating Lasso .out file
Aug 12, 2013; 17:26
Ke Carlton
Re: Rotating Lasso .out file
Aug 12
Brad Lindsay Re: Rotating Lasso .out file
Aug 12, 2013; 13:46
Brad Lindsay
Re: Rotating Lasso .out file
Aug 12
Brad Lindsay Re: Rotating Lasso .out file
Aug 12, 2013; 13:48
Brad Lindsay
Re: Rotating Lasso .out file
Aug 12
Brad Lindsay Re: Rotating Lasso .out file
Aug 12, 2013; 14:04
Brad Lindsay
Re: Rotating Lasso .out file
Aug 14
Pier Kuipers Re: Rotating Lasso .out file
Aug 14, 2013; 08:05
Pier Kuipers
Re: Rotating Lasso .out file
Aug 14
Jolle Carlestam Re: Rotating Lasso .out file
Aug 14, 2013; 08:58
Jolle Carlestam
Re: Rotating Lasso .out file
Aug 14
Brad Lindsay Re: Rotating Lasso .out file
Aug 14, 2013; 08:21
Brad Lindsay
Re: Rotating Lasso .out file