Deutsch   English   Français   Italiano  
<sr24g0$jhq$1@rasp.pasdenom.info>

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

Path: ...!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!usenet.goja.nl.eu.org!pasdenom.info!.POSTED.2a01:e0a:21:ea80:2bcd:1898:8c71:814c!not-for-mail
From: yamo' <yamo@beurdin.invalid>
Newsgroups: fr.comp.usenet.serveurs
Subject: Re: logs de INN et systemd
Date: Tue, 4 Jan 2022 19:43:11 +0100
Organization: Serveur de salon
Message-ID: <sr24g0$jhq$1@rasp.pasdenom.info>
References: <sr1st7$7bv$1@ns507557.dodin.fr.nf>
Reply-To: yamo@groumpf.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 4 Jan 2022 18:43:12 -0000 (UTC)
Injection-Info: rasp.pasdenom.info; posting-account="stephane"; posting-host="2a01:e0a:21:ea80:2bcd:1898:8c71:814c";
	logging-data="20026"; mail-complaints-to="abuse@pasdenom.info"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Firefox/68.0 SeaMonkey/2.53.10.2
Cancel-Lock: sha1:MUJDvyfnJz9Y4toWHlNT6a1h/6Q=
X-Face:  3KI0f?#fLTG@kKi{}=#:0_|0/Yj`]d3fD_\O0w{?AFf"Cw9|V~#Nd.Wks
In-Reply-To: <sr1st7$7bv$1@ns507557.dodin.fr.nf>
Bytes: 1986
Lines: 29

Salut,

jdd a tapoté le 04/01/2022 17:33:
> La doc de INN indique une configuration pour les logs:
> 
> https://www.eyrie.org/~eagle/software/inn/docs-2.6/install.html#S11
> 
> mais elle utilise syslog.
> 
> Ça commence à faire un moment que systemd est utilisé pour les logs 
> système à la place de syslog
Ici, j'ai du créer le fichier suivant :

/etc/rsyslog.d/news.conf
avec dedans :
#############AJouté ######################################
#
# Logging for INN news system.
#
news.crit                      /var/log/news/news.crit
news.err                       /var/log/news/news.err
news.notice                    -/var/log/news/news.notice
##########################################################

#et puis restart :
systemctl restart *syslog*


-- 
Stéphane