🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24695

[Q] How to rotate Diablo log files

#24695
From: Jaeyoung Kim
Date: Wed, 31 Dec 1997 00:00
36 lines
2106 bytes

	Hi, I'm running diablo 1.14 on my newsfeed machine. What made me
trouble right now is the diablo log file. The installation guide says
that the default log file for diablo server is /var/log/news/news.notice.

	Instead accepting the default location, I made the log file
at /news/log/diablo.log with other log files (dspoolout.log and daily.log).
It's working ok for several days.

	But when it comes to the log rotating, I don't know how to rotate
the diablo.log file which are generated by syslogd. The other log files
can be rotated by /news/adm/rot program. However, I failed to rotate diablo.
log by rot program which made diablo.log.0 file and the logging are still
running on the diablo.log.0 file!

	After checking INN's scanlogs file, I found out that INN do rotate
with the command "ctlinnd -s flushlogs" which flushes the current logging
files. Diablo doesn't seem have such functions. :(

	How could you guys out there manage this problem? Thanks in advance.


	Sincerely,
	Jay Kim
--
___________________________________________________________________________
         _____   ___  __   __
 __/\__ |_   _| / _ \ \ \_/ /  Remember Yesterday, Dream about Tomorrow
 \    /   | |  | /_\ | \   /   but ... LIVE TODAY !!!
 /_  _\   | |  |  _  |  | |
   \/   __| |  | | | |  | |    jay@postech.ac.kr (Jae-young Kim)
       |___/   |_| |_|  |_|    Researcher, Computer Center/POSTECH, KOREA
___________________________________________________________________________

Technical Details
Message-ID: <68c90r$ota$1@news.postech.ac.kr>
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

Show Full Headers
Complete Article Headers
Message-ID: <68c90r$ota$1@news.postech.ac.kr>
Subject: [Q] How to rotate Diablo log files
Date: Wed, 31 Dec 1997 00:00:00 +0000
From: Jaeyoung Kim <jay@ys.postech.ac.kr>
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: 311495641
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=EUC-KR
Organization: POSTECH, Pohang, Korea
Mime-Version: 1.0
Newsgroups: news.software.nntp