Article View: news.software.nntp
Article #82779Re: news.daily and missing innfeed.conf
From: Julien ÉLIE
Date: Wed, 10 Feb 2010 22:58
Date: Wed, 10 Feb 2010 22:58
45 lines
3675 bytes
3675 bytes
Hi Michael,
> I will have to test this in more detail tomorrow. If you do have more
> ideas what to check, let me know.
Oh yes, I have one...
We're trying to rotate innfeed.log too!
Well, hmm... I'm not craving for allowing to mention the names of all
the files to rotate. We're already not rotating all the log files that
can be generated by control.ctl, if specified to.
Let's keep the default one only.
--- scanlogs.in (révision 8880)
+++ scanlogs.in (copie de travail)
@@ -22,12 +22,15 @@
## Where these programs, if used, write their logs.
## We also have to find innfeed's log file.
CONTROLBATCH=${MOST_LOGS}/controlbatch.log
-INNFEEDLOG=`${AWK} '{gsub(/:|#/, " & ")} {if ($1 == "log-file" && $2 == ":") print
$3}' ${PATHETC}/innfeed.conf`
+INNFEEDCONF=${PATHETC}/innfeed.conf
+if [ -f "${INNFEEDCONF}" ]; then
+ INNFEEDLOG=`${AWK} '{gsub(/:|#/, " & ")} {if ($1 == "log-file" && $2 == ":")
print $3}' ${INNFEEDCONF}`
+fi
INNFEED=
for F in "${INNFEEDLOG}" ; do
test -f "${MOST_LOGS}/${F}" && INNFEED="${INNFEED} ${MOST_LOGS}/${F}"
done
-test -z "${INNFEED}" && test -f ${MOST_LOGS}/innfeed.log &&
INNFEED="${MOST_LOGS}/innfeed.log"
+test -z "${INNFEED}" && test -f "${MOST_LOGS}/innfeed.log" &&
INNFEED="${MOST_LOGS}/innfeed.log"
NNTPSEND=${MOST_LOGS}/nntpsend.log
PERLNOCEM=${MOST_LOGS}/perl-nocem.log
SENDIHAVE=${MOST_LOGS}/send-ihave.log
--
Julien ÉLIE
« My wife and I were happy for twenty years. Then we met. » (Henny Youngman)
Technical Details
Message-ID:
<hkvdmd$k3f$1@news.trigofacile.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-151-1-2-159.w83-114.abo.wanadoo.fr!not-for-mailReferences:
<hkibmo$1ql2$3@de-l.enfer-du-nord.net> <hkjkms$56g$1@news.trigofacile.com> <hkjo4s$4ri$1@de-l.enfer-du-nord.net> <hkjtok$gd6$1@news.trigofacile.com> <hkka52$2f2o$1@de-l.enfer-du-nord.net> <hkmtlc$b1v$1@news.trigofacile.com> <hkn9ln$1r2h$1@de-l.enfer-du-nord.net> <hksf98$p99$1@news.trigofacile.com> <hkv2la$1icg$1@de-l.enfer-du-nord.net> <hkv56b$c82$1@news.trigofacile.com> <hkv610$1vmo$2@de-l.enfer-du-nord.net> <hkv7g7$eid$1@news.trigofacile.com> <hkv9g5$1vmo$5@de-l.enfer-du-nord.net> <87pr4c4v6m.fsf@windlord.stanford.edu> <87ljf04v55.fsf@windlord.stanford.edu> <hkvah2$1vmo$6@de-l.enfer-du-nord.net> <hkvbms$id7$1@news.trigofacile.com> <hkvcf3$1vmo$7@de-l.enfer-du-nord.net>Show Full Headers
Complete Article Headers
Message-ID: <hkvdmd$k3f$1@news.trigofacile.com> Subject: Re: news.daily and missing innfeed.conf Date: Wed, 10 Feb 2010 23:58:25 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <hkibmo$1ql2$3@de-l.enfer-du-nord.net> <hkjkms$56g$1@news.trigofacile.com> <hkjo4s$4ri$1@de-l.enfer-du-nord.net> <hkjtok$gd6$1@news.trigofacile.com> <hkka52$2f2o$1@de-l.enfer-du-nord.net> <hkmtlc$b1v$1@news.trigofacile.com> <hkn9ln$1r2h$1@de-l.enfer-du-nord.net> <hksf98$p99$1@news.trigofacile.com> <hkv2la$1icg$1@de-l.enfer-du-nord.net> <hkv56b$c82$1@news.trigofacile.com> <hkv610$1vmo$2@de-l.enfer-du-nord.net> <hkv7g7$eid$1@news.trigofacile.com> <hkv9g5$1vmo$5@de-l.enfer-du-nord.net> <87pr4c4v6m.fsf@windlord.stanford.edu> <87ljf04v55.fsf@windlord.stanford.edu> <hkvah2$1vmo$6@de-l.enfer-du-nord.net> <hkvbms$id7$1@news.trigofacile.com> <hkvcf3$1vmo$7@de-l.enfer-du-nord.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-151-1-2-159.w83-114.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 45 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-15"; reply-type=original Content-Transfer-Encoding: 8bit Injection-Date: Wed, 10 Feb 2010 22:58:21 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="aaubervilliers-151-1-2-159.w83-114.abo.wanadoo.fr:83.114.1.159"; logging-data="20591"; mail-complaints-to="abuse@trigofacile.com" In-Reply-To: <hkvcf3$1vmo$7@de-l.enfer-du-nord.net> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6002.18005 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005