Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.os.linux.misc    |    Linux-specific topics not covered by oth    |    135,536 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 134,797 of 135,536    |
|    Carlos E.R. to All    |
|    Re: ever had 1GB+ kern.log (and syslog)     |
|    14 Jan 26 23:14:31    |
      From: robin_listas@es.invalid              On 2026-01-14 21:54, Lawrence D’Oliveiro wrote:       > On Wed, 14 Jan 2026 14:42:44 +0100, Carlos E.R. wrote:       >       >> I want to purge from the journal all messages from facility=news,       >> level>Warning, age> 7 days. Only those messages. Leave all the rest       >> intact.       >       > You can’t purge selected lines from a logfile with syslog, either.              Yes, I can and I do.              With config lines in /etc/rsyslog.conf and in logrotate.              > You       > would have to copy the log to a new file, and leave out the lines you       > don’t want.              Which I can also easily do, as part of the rotate process.              --       Cheers, Carlos.       ES🇪🇸, EU🇪🇺;              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca