🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #45035

Re: No log-files??

#45035
From: Wolfgang Szoecs
Date: Tue, 14 Mar 2000 00:00
47 lines
2522 bytes
In article <38CE262C.FDD0E156@mazet.de>,
	Maik Dittrich <dittrich@MAZeT.de> writes:
> Gunter Wurst wrote:
> 
>> > My log-files in the log-directoy are empty. How can I enable the
>> > logging? I want a overview who is on my server ans whats going on?
>> > Thanks!
>> >
>>
>> What do you want? Which server do you use?
> 
> Sorry, I am just a little bit confused. I`m runing INN-2.2.2 on a SunOS
> 4.1.4. It is a Server for the Company`s Intranet. I`ver already built an
> INN 2.2.1 on Linux and this server has loged all auomaticly.
> Thank you for the complaint.

man syslog, and see '/etc/syslog.conf'
(and READ really carefully the stuff about 'TABs' vs. SPACE :-) )

innd logs most messages via syslog(3C).
so /etc/syslog.conf defines where the stuff goes to.

note, that you can configure INND, under which LOG_FACILITY it will send
the stuff to syslog. (usually it's LOG_NEWS)
(all spaces are Tabs)

news.notice     /usr/local/news/log/news.notice
news.crit       /usr/local/news/log/news.crit
news.err        /usr/local/news/log/news.err

Let syslogd create them (kill -HUP), do then a chown to news.news,
and it should work even after news.daily truncated them :-)

additionally:
Depending on your current syslog-setup, it's likely, that the logs
go additionally also to the main SYSLOG-file.
Some people (like me) don't want this.
IF you don't want this, you must exclude news.* from there, but 
the exact method differs (there are simply lots of different syslog versions)

(I'm not too familiar with SunOs to know the exact details :-)) )

Wolfgang
-- 
Wolfgang Szoecs - SGI Developer Online Consulting - wolfi@sgi.COM 

Technical Details
Message-ID: <8alcao$4qu4$1@bongo.munich.sgi.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <38CE21B0.5BFB3728@MAZeT.de> <38CE265A.D4C1E960@gmx.de> <38CE262C.FDD0E156@MAZeT.de>

Show Full Headers
Complete Article Headers
Message-ID: <8alcao$4qu4$1@bongo.munich.sgi.com>
Subject: Re: No log-files??
Date: Tue, 14 Mar 2000 00:00:00 +0000
From: wolfi@munich.sgi.com (Wolfgang Szoecs)
References: <38CE21B0.5BFB3728@MAZeT.de> <38CE265A.D4C1E960@gmx.de> <38CE262C.FDD0E156@MAZeT.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 597317959
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@bongo.munich.sgi.com
X-Trace: bongo.munich.sgi.com 953037976 158660 144.253.192.104 (14 Mar 2000 12:46:16 GMT)
Organization: Silicon Graphics - Munich, Germany
Mime-Version: 1.0
NNTP-Posting-Date: 14 Mar 2000 12:46:16 GMT
Newsgroups: news.software.nntp