public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Rationalizing log files
Date: Thu, 13 May 2021 06:20:16 -0700	[thread overview]
Message-ID: <CAK2H+ed=vBaeEHrVVbd9c83k9Gk_0X-s6thhybQ_duSB8qAyUw@mail.gmail.com> (raw)
In-Reply-To: <YJzcKMVQhWTvImZU@waltdnes.org>

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

On Thu, May 13, 2021 at 12:58 AM Walter Dnes <waltdnes@waltdnes.org> wrote:
>
<SNIP>
> # no packages own wtmp and btmp -- we'll rotate them here.
> /var/log/wtmp {
>     monthly
>     create 0664 root utmp
>     minsize 1M
>     rotate 1
> }
> /var/log/btmp {
>     missingok
>     monthly
>     create 0600 root utmp
>     rotate 1
> }
<SNIP>

As you reported 'roughly monthly' failures my guess would be the above two
sections

>   And maybe either stop logging Facebook, or else log iptables messages
> to a separate file (how is that done?).  The Facebook tracker messages
> are generated by iptables rules...

Don't log what you're not interested in. If your disk is getting filled up
with billions of Facebook issues then limit how much of that you track.

HTH,
Mark

[-- Attachment #2: Type: text/html, Size: 1108 bytes --]

  parent reply	other threads:[~2021-05-13 13:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13  7:58 [gentoo-user] Rationalizing log files Walter Dnes
2021-05-13  8:42 ` Dale
2021-05-13 17:38   ` Walter Dnes
2021-05-13 13:20 ` Mark Knecht [this message]
2021-05-13 13:36   ` Mark Knecht
2021-05-14 23:40 ` David Haller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK2H+ed=vBaeEHrVVbd9c83k9Gk_0X-s6thhybQ_duSB8qAyUw@mail.gmail.com' \
    --to=markknecht@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox