Article View: news.software.nntp
Article #90713Re: perl-nocem not processing all NoCeMs by same issuer
From: Julien ÉLIE
Date: Sun, 03 Sep 2023 21:36
Date: Sun, 03 Sep 2023 21:36
60 lines
3735 bytes
3735 bytes
Hi Jesse,
>>>>> Next question, is there an easier way for me to process the notices I have in
>>>>> news.lists.filters without grabbing Message-IDs one-by-one?
Besides Ivo's script working for the tradspool storage method, there is
also a straight-forward way to do that depending on the overview method
you're using.
With ovsqlite, you obtain all these storage tokens with:
ovsqlite-util -g -n news.lists.filters | cut -f 5 -d' '
See tdx-util and ovdb_stat for a similar dump with tradindexed and ovdb.
I can add a paragraph about that in the perl-nocem documentation as it
is an interesting use case to document.
> Use of uninitialized value $key in lc at /usr/local/news/bin/perl-nocem line
> 183, <ART> line 44.
Noted. I'll fix that warning in the next release.
>>>> Also, shouldn't perl-nocem be logging when it receives a notice for which one
>>>> does not have a key?
>>>>
>>>> I see the logging in the perl-nocem code, but I never get "not in keyring" in
>>>> my logs even though I was receiving messages for which were not in my keyring.
The "not in keyring" log should really be in your news.notice file as
the default log level for the logmsg() function in perl-nocem is notice:
syslog($lvl || 'notice', '%s', $msg);
Are you sure the nocem-fr@alphanet.ch entry was in nocem.ctl when you
did that test?
I think the log you expected was another one, for a issuer not present
in nocem.ctl:
logmsg(
"Article $msgid: unwanted ($hdrs{issuer}/$hdrs{type})",
'debug'
);
In that case, yes, this log is forced at the debug level. I believe the
rationale is for not repeating every couple of minutes that you don't
process the notices or types from one or several issuers. It's not
necessary when you already know that.
Yet, I understand it may be useful to be aware of new issuers or a new
type sent by a known issuer.
Should this very log be changed to be at the notice level? I'm OK with
that move unless you see any drawback. It seems more helpful for admins.
--
Julien ÉLIE
« On ne peut jamais être neutre. Le silence est une opinion. » (Henri
Moret)
Technical Details
Message-ID:
<ud2u8f$2cj5i$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<ucv8rp$14t2$1@nnrp.usenet.blueworldhosting.com> <ucv9oq$18hi$1@nnrp.usenet.blueworldhosting.com> <ucvast$2cnb$1@nnrp.usenet.blueworldhosting.com> <ucvcfo$ppi7$1@paganini.bofh.team> <ucvdep$1m48$1@nnrp.usenet.blueworldhosting.com> <ucvecm$1fm4$1@nnrp.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <ud2u8f$2cj5i$1@news.trigofacile.com> Subject: Re: perl-nocem not processing all NoCeMs by same issuer Date: Sun, 3 Sep 2023 23:36:15 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <ucv8rp$14t2$1@nnrp.usenet.blueworldhosting.com> <ucv9oq$18hi$1@nnrp.usenet.blueworldhosting.com> <ucvast$2cnb$1@nnrp.usenet.blueworldhosting.com> <ucvcfo$ppi7$1@paganini.bofh.team> <ucvdep$1m48$1@nnrp.usenet.blueworldhosting.com> <ucvecm$1fm4$1@nnrp.usenet.blueworldhosting.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 3 Sep 2023 21:36:15 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="2510002"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Cancel-Lock: sha1:rM4TpVonY16/OZMqnnZdtxhtGbg= sha256:a1qJ2dxPFoaeQjwg4QAqvU8+oW5nCpoXcrIHBEEhu5M= sha1:6F6we07cHsaLdrxy+z4KSwcTVPU= sha256:NXE/mDlD4fAgs0qJEooXTY6Cw9QFvXL4J1n2jxcFetM= In-Reply-To: <ucvecm$1fm4$1@nnrp.usenet.blueworldhosting.com>