🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86832

syslog.conf

#86832
From: Avon
Date: Thu, 18 Jun 2015 09:49
51 lines
2506 bytes
I'm not seeing this file in my Ubuntu setup

The INN manuals says

 Edit /etc/syslog.conf on your system and add lines that look like the 
following:

    news.crit           <pathlog in inn.conf>/news.crit
    news.err            <pathlog in inn.conf>/news.err
    news.notice         <pathlog in inn.conf>/news.notice


Now my install did create these files and they are owned by news:news and 
0 bytes in size.

I then found rsyslog.conf in /etc (this seems to be the ubuntu version of 
syslog.conf) and added the following to it.

# INN News Logging
#
news.crit	/var/log/news/news.crit
news.err	/var/log/news/news.err
news.notice	/var/log/news/news.notice

I used a TAB key between the first and second parameter on each line.

After a system restart I still see no change to the contents of the 
news.notice or any of the other two files.

Some of the INN docs suggest I should see some info in the news.notice log

What I do see is the following:

-rw-rw-r-- 1 news news    0 Jun 18 20:03 errlog
-rw-rw-r-- 1 news news    0 Jun 11 07:51 innfeed.log
-rw-rw-r-- 1 news news 3057 Jun 18 21:41 innfeed.status
-rw-rw-r-- 1 news news    0 Jun 10 21:28 news
-rw-r--r-- 1 news news    0 Jun 10 21:28 news.crit
-rw-r--r-- 1 news news    0 Jun 10 21:28 news.err
-rw-r--r-- 1 news news    0 Jun 10 21:28 news.notice
drwxrwxr-x 2 news news 4096 Jan 27  2014 OLD
drwxrwxr-x 2 news news 4096 Jan 27  2014 path
-rw-r--r-- 1 root root   62 Jun 18 21:14 rc.news

Only errlog innfeed.status and rc.news appear to be updating.
With rc.news owned by root:root

Permissions and trying to figure out the logging is frustrating..


Technical Details
Message-ID: <mlu478$ck4$1@speranza.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <mlu478$ck4$1@speranza.aioe.org>
Subject: syslog.conf
Date: Thu, 18 Jun 2015 09:49:29 +0000
From: Avon <avon@bbs.geek.nz.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: Aioe.org NNTP Server
Lines: 49
NNTP-Posting-Host: olrw2Klq58WkPkQQTETYpw.user.speranza.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
 git://git.gnome.org/pan2)
X-Notice: Filtered by postfilter v. 0.8.2
X-Received-Body-CRC: 3153597309
X-Received-Bytes: 2460