Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #212739

Re: OT: While we're talking about logrotate (was: Re: Error with logrotate.)

From rhkramer@gmail.com
Newsgroups linux.debian.user
Subject Re: OT: While we're talking about logrotate (was: Re: Error with logrotate.)
Date 2019-08-13 14:10 +0200
Message-ID <yuDMJ-1Hi-1@gated-at.bofh.it> (permalink)
References <yuqcO-1c2-13@gated-at.bofh.it> <yuytH-6AY-5@gated-at.bofh.it> <yuDMJ-1Hi-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


PS: I do (now) recall that one of the descriptions of how to do what I wanted 
was in an old (online) issue of Dr. Dobbs, and I spent a fair amount of time 
trying to get that one to do what I wanted, but it refused to cooperate ;-)

On Tuesday, August 13, 2019 07:58:16 AM rhkramer@gmail.com wrote:
> While we're talking about logrotate, I'd like to ask if anyone else has
> seen (and solved) the problem I had with logrotate.
> 
> There were times in the past when I wanted to do things like keep a log (or
> a backup of one or more files) something like this: 7 daily logs for one
> week, then 4 (or 5) weekly logs for one month, then, 12 monthly logs for
> one year (and, ideally, in some circumstances, n yearly logs forever).
> 
> I found various descriptions of how (iiuc) I could make logrotate do that
> for me, but they never worked correctly for me.  (I forget the exact
> problem, it may have been that they would not, for example, delete (or
> overwrite), for example, the daily logs -- but, as I say, I really don't
> remember the problem, just that I couldn't get it to work.)
> 
> If this rings the bell for anyone, and you had a similar problem and found
> the solution, I'd appreciate any hints you can offer.  (If you think the
> solutions on the web "just work", then you probably haven't encountered
> the problem I found.)
> 
> Thanks!

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Error with logrotate. Philip <philip@treads.nz> - 2019-08-12 23:40 +0200
  Re: Error with logrotate. Teemu Likonen <tlikonen@iki.fi> - 2019-08-13 06:10 +0200
    Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 06:40 +0200
      Re: Error with logrotate. Sven Joachim <svenjoac@gmx.de> - 2019-08-13 07:10 +0200
      Re: Error with logrotate. Erik Christiansen <dvalin@internode.on.net> - 2019-08-13 07:40 +0200
        Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 11:00 +0200
      Re: Error with logrotate. deloptes <deloptes@gmail.com> - 2019-08-13 08:30 +0200
        Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 11:20 +0200
          Re: Error with logrotate. Dan Purgert <dan@djph.net> - 2019-08-13 12:00 +0200
            Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 16:00 +0200
              Re: Error with logrotate. Dan Purgert <dan@djph.net> - 2019-08-13 19:20 +0200
                Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 19:40 +0200
          Re: Error with logrotate. Lee <ler762@gmail.com> - 2019-08-13 21:10 +0200
            Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 22:00 +0200
            Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 22:30 +0200
        Re: OT: While we're talking about logrotate (was: Re: Error with logrotate.) rhkramer@gmail.com - 2019-08-13 14:10 +0200
    Re: Error with logrotate. Sven Joachim <svenjoac@gmx.de> - 2019-08-13 07:10 +0200
  Re: Error with logrotate. Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-13 15:20 +0200

csiph-web