Deutsch   English   Français   Italiano  
<v5idalx35o.ln2@Telcontar.valinor>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: "Carlos E.R." <robin_listas@es.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: More systemdCrap
Date: Fri, 14 Mar 2025 12:57:19 +0100
Lines: 36
Message-ID: <v5idalx35o.ln2@Telcontar.valinor>
References: <vqn41l$1efis$1@dont-email.me>
 <wwvjz8tqsms.fsf@LkoBDZeT.terraraq.uk> <m2iaalx7l9.ln2@Telcontar.valinor>
 <vqvkua$3v7rr$4@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net k1eFCj+QChhULUeAjkhqIQ6QLtGd+ZC10qe/uiwSugv+o7QurU
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:PMGH37E3swl9GaZZyS55NJNum0c= sha256:ZZ7qht/hjk4Zkn8Ioq8N6tHMSA+XGtTiVe/nCuo+Cio=
User-Agent: Mozilla Thunderbird
Content-Language: es-ES, en-CA
In-Reply-To: <vqvkua$3v7rr$4@dont-email.me>
Bytes: 2111

On 2025-03-13 23:07, Lawrence D'Oliveiro wrote:
> On Thu, 13 Mar 2025 09:37:10 +0100, Carlos E.R. wrote:
> 
>> I restart both services, I send a message with logger... everything
>> seems correct.
> 
> Moral: much simpler to do it the systemd way to begin with.

Huh, no. I actually prefer syslog.

The other day I had to report a bug in the kernel. To do so I wanted to 
produce a journal log without private information: mail, and authpriv. 
Also news because it is too big. To do so I run:

journalctl --boot=-2 -- \
facility=kern,user,mail,daemon,auth,syslog,lpr,news,uucp,cron,authpriv,ftp,12,13,14,15,local0,local1,local2,local3,local4,local5,local6,local7 


The problem is, that some information is missing from the output, 
because there are messages submitted to the journal without a facility 
assigned.

journalctl(1) does have one exclude type of option:

        "-T, --exclude-identifier=SYSLOG_IDENTIFIER
            Exclude messages for the specified syslog identifier"

but

journalctl: unrecognized option '--exclude-identifier=news'

systemd 254 doesn't have it. 257 does. So, not me.


-- 
Cheers, Carlos.