home bbs files messages ]

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,941 of 135,536   
   Carlos E.R. to Richard Kettlewell   
   Re: ever had 1GB+ kern.log (and syslog)    
   20 Jan 26 02:36:45   
   
   From: robin_listas@es.invalid   
      
   On 2026-01-20 00:05, Richard Kettlewell wrote:   
   > "Carlos E.R."  writes:   
   >> Oh, I can use fine journalctl.   
   >> When I report on bugzilla I use that.   
   >>   
   >> However, I do have problems with eliminating from the log the hugely   
   >> verbose news facility, mail facility, and authpriv. With the   
   >> concoction I have, some parts disappear, because they are not assigned   
   >> any facility.   
   >>   
   >>   
   >>  From one of my bugzillas:   
   >>   
   >> journalctl --boot=-2 --facility=kern,user,daemon,auth,syslog,   
   pr,uucp,cron,authpriv,ftp,12,13,14,15,local0,local1,local2,local   
   ,local4,local5,local6,local7 > journal_purged   
   >>   
   >>   
   >> However, notice that several megabytes of messages like this:   
   >>   
   >>       Feb 18 12:17:58 Telcontar sddm[2599]: Initializing...   
   >>   
   >> are also missing. They are facility 1, should not be removed. I know they   
   are fac 1 by comparison with syslog:   
   >>   
   >>     <1.4> 2025-02-24T01:03:30.963177+01:00 Telcontar sddm 2599 - -  Signal   
   received: SIGTERM   
   >>      *..... I print the  numbers.   
   >>   
   >> If you need those messages in the log, please advise how to remove   
   >> mail and news messages from the journal. Grep doesn't work because   
   >> news messages are multiline.   
   >   
   > Not 100% clear what you’re asking but wouldn’t journalctl --unit= with   
   > the unit(s) you care about be sufficient?   
      
   No. I have to provide all units for a report. I remove those that are   
   private or irrelevant, like news.   
      
   --   
   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