Hi there,
When using :
savelog -dCc 7 file-to-rotate
This is ok ! (every rotated file older than 7 is deleted)
(running lenny with debianutils 2.30)
But, if the filename is containing spaces, the rotation is done, but
nothing is deleted.
Cheers
Vincent
signature.asc
Description: OpenPGP
Apparently, Clint Adams wrote:
% [Cc:ing Gert-Jan Hagenaars, since he implemented -d]
%
% On Tue, Sep 23, 2008 at 09:24:07PM +0200, Paul Slootman wrote:
% > > There's no rotation capability with -d or -D. Perhaps this should be
I don't see a "-D" in the current savelog implementation on my syste
[Cc:ing Gert-Jan Hagenaars, since he implemented -d]
On Tue, Sep 23, 2008 at 09:24:07PM +0200, Paul Slootman wrote:
> > There's no rotation capability with -d or -D. Perhaps this should be
>
> Ugh :(
> Surely that wouldn't be too difficult to do? Something like:
>
> ls -t1 $base.* | tail --line
On Tue 23 Sep 2008, Clint Adams wrote:
> On Tue, Sep 23, 2008 at 04:07:07PM +0200, Paul Slootman wrote:
> > $ for i in 1 2 3 4 5 6 7 8 9; do savelog -q -l -d -c 5 ps1; sleep 2; done;
> > ls -1 ps1*
>
> There's no rotation capability with -d or -D. Perhaps this should be
Ugh :(
Surely that would
On Tue, Sep 23, 2008 at 04:07:07PM +0200, Paul Slootman wrote:
> $ for i in 1 2 3 4 5 6 7 8 9; do savelog -q -l -d -c 5 ps1; sleep 2; done; ls
> -1 ps1*
There's no rotation capability with -d or -D. Perhaps this should be
documented, and perhaps -c should cause a fatal error if -d or -D is
speci
Package: debianutils
Version: 2.30
Severity: important
Marking important as it caused a filesystem to be full by not deleting
old data.
$ rm ps1*
$ for i in 1 2 3 4 5 6 7 8 9; do savelog -q -l -d -c 5 ps1; sleep 2; done; ls
-1 ps1*
ps1.20080923160210
ps1.20080923160212
ps1.20080923160214
ps1.200
6 matches
Mail list logo