🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91147

INN2 2.7.1 and rsyslog

#91147
From: Ivo Gandolfo
Date: Fri, 01 Dec 2023 09:46
33 lines
2153 bytes
Hi all,

Today I updated my distro and ran into a problem.
The logging system has changed from the old syslog-ng to systemd's rsyslogd.
As per man page (5) of rsyslog.conf I set the strings to have inn2 
logging separated by file, but even restarting inn2 and systemd nothing 
is logged in those files, only in /var/log/news/news and I can't 
understand why.

In the inn2 documentation there is still reference to syslog, but no way 
to debug it, so practically useless.

Have any of you had the same difficulty? And if so, how can it be resolved?

This is my string into the my file /etc/rsyslog.d/50-default.conf, and 
the OS it's Ubuntu lunar 23.04.

*********************
# Configurazione per i messaggi di livello critico di news
news.=crit               -/var/log/news/news.crit
# Configurazione per i messaggi di errore di news
news.=err                -/var/log/news/news.err
# Configurazione per i messaggi di livello notice di news
news.=notice             -/var/log/news/news.notice
# Configurazione per i messaggi di debug di news
news.=debug              -/var/log/news/news.debug
*********************


Sincerely

-- 
Ivo Gandolfo
Technical Details
Message-ID: <ukca1v$2fur$1@paganini.bofh.team>
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

Show Full Headers
Complete Article Headers
Message-ID: <ukca1v$2fur$1@paganini.bofh.team>
Subject: INN2 2.7.1 and rsyslog
Date: Fri, 1 Dec 2023 10:46:39 +0100
From: Ivo Gandolfo <usenet@bofh.team>
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: To protect and to server
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 1 Dec 2023 09:46:39 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="81883"; posting-host="UVa2lCJi2YFEtTlJ34XukQ.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="NnMoDEm3qkIJGKBtBYRUeg";
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha256:VdI3DTbzEdxjUCpFnnVWQ8T2r4AbzavQrfFum/nCJwQ=
X-Notice: Filtered by postfilter v. 0.9.3
Content-Language: en-US