🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91434

Re: INN2 2.7.1 and rsyslog

#91434
From: Julien ÉLIE
Date: Sun, 07 Jan 2024 22:20
30 lines
2074 bytes
Hi Ivo,

> 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.

I don't know whether your issue is now solved.  Just in case, maybe it 
comes from the fact that your rsyslog package does not provide 
/etc/rsyslog.d/news.conf; Marco added one last week in the 
2.7.2~20231223-1 Debian package.

[/etc/rsyslog.d/news.conf]
#
# Logging for the INN news system.
#
news.crit	action(type="omfile" file="/var/log/news/news.crit" 
fileOwner="news" fileGroup="news" createDirs="off")
news.err	action(type="omfile" file="/var/log/news/news.err" 
fileOwner="news" fileGroup="news" createDirs="off")
news.notice	action(type="omfile" file="/var/log/news/news.notice" 
fileOwner="news" fileGroup="news" createDirs="off")

-- 
Julien ÉLIE

« Conscientia mille testes. »
Technical Details
Message-ID: <unf83c$2nuji$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-mail
References: <ukca1v$2fur$1@paganini.bofh.team>

Show Full Headers
Complete Article Headers
Message-ID: <unf83c$2nuji$1@news.trigofacile.com>
Subject: Re: INN2 2.7.1 and rsyslog
Date: Sun, 7 Jan 2024 23:20:28 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <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
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, 7 Jan 2024 22:20:28 -0000 (UTC)
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:oCpvoY9mGF7cAhRf2y6xmnzq1vI= sha256:b10kzsRhAlFqVuxGG8mjeN0IRNqZu7RLJXJgUgENwPU= sha1:5p8Df+FAojRs0qrop6gUW3oymf8= sha256:piPHv6DAfiaLBuyGRQdb50ubq5il8C7iPdvPomt0JYg=
In-Reply-To: <ukca1v$2fur$1@paganini.bofh.team>