# HG changeset patch # User godisch # Date 1045473492 0 # Node ID 52ce87d256410ec08babec1bd82e33e9ee52aa38 # Parent 00766bc86962644c2bba40dad6d61f31dfd43b7c [svn] added logging when fetching news started/finished diff -r 00766bc86962 -r 52ce87d25641 ChangeLog --- a/ChangeLog Sun Feb 16 15:38:48 2003 +0000 +++ b/ChangeLog Mon Feb 17 09:18:12 2003 +0000 @@ -1,3 +1,8 @@ +Mon Feb 17 2003 Martin Godisch + +* src/noffle.c: Added logging when fetching news started/finished. + See Debian bug #181320. + Thu Feb 13 2003 Jim Hague * src/database.c: Accept articles with no body, substituting a body of a diff -r 00766bc86962 -r 52ce87d25641 debian/changelog --- a/debian/changelog Sun Feb 16 15:38:48 2003 +0000 +++ b/debian/changelog Mon Feb 17 09:18:12 2003 +0000 @@ -1,11 +1,12 @@ -noffle (1.1.4-1.cvs20030216) unstable; urgency=low +noffle (1.1.5-0.cvs20030217) unstable; urgency=low + * New upstream release, closes: #181320 (syslog when fetching). * Clarified init output, closes: #181171. * Updated debian/rules, incorporated manual patches. * Added user mailing list address to package description. * Merged debian/ into the upstream CVS tree, added some CVS ID tags. - -- Martin A. Godisch Sun, 16 Feb 2003 09:44:44 +0100 + -- Martin A. Godisch Mon, 17 Feb 2003 10:05:21 +0100 noffle (1.1.4-1) unstable; urgency=medium diff -r 00766bc86962 -r 52ce87d25641 debian/logcheck --- a/debian/logcheck Sun Feb 16 15:38:48 2003 +0000 +++ b/debian/logcheck Mon Feb 17 09:18:12 2003 +0000 @@ -1,4 +1,5 @@ /USR/SBIN/CRON\[[0-9]+\]: \(news\) CMD \(\[ -x /usr/sbin/noffle-cronfetch \] && /usr/sbin/noffle-cronfetch\) +noffle\[[0-9]+\]: Fetching news\.\.\. noffle\[[0-9]+\]: Fetch from .+ noffle\[[0-9]+\]: Connected to .+ noffle\[[0-9]+\]: Updating groupinfo @@ -11,6 +12,7 @@ noffle\[[0-9]+\]: Retrieving article list noffle\[[0-9]+\]: \[[0-9]+/[0-9]+\] Retrieving .+ noffle\[[0-9]+\]: Fetch from .+ finished +noffle\[[0-9]+\]: Fetching news finished\. noffle\[[0-9]+\]: Expiring articles noffle\[[0-9]+\]: [0-9]+ articles deleted, [0-9]+ left noffle\[[0-9]+\]: Expiring overviews not in database diff -r 00766bc86962 -r 52ce87d25641 src/noffle.c --- a/src/noffle.c Sun Feb 16 15:38:48 2003 +0000 +++ b/src/noffle.c Mon Feb 17 09:18:12 2003 +0000 @@ -10,7 +10,7 @@ received for some seconds (to allow multiple clients connect at the same time). - $Id: noffle.c 425 2003-01-30 15:49:23Z bears $ + $Id: noffle.c 440 2003-02-17 09:18:12Z godisch $ */ #if HAVE_CONFIG_H @@ -166,6 +166,7 @@ return; } + Log_inf( "Fetching news..." ); Cfg_beginServEnum(); while ( Cfg_nextServ( serv ) ) if ( ! noffle.serverPattern @@ -191,6 +192,7 @@ Fetch_close(); } + Log_inf( "Fetching news finished." ); Lock_releaseFetchLock(); }