Mercurial > noffle
changeset 306:52ce87d25641 noffle
[svn] added logging when fetching news started/finished
author | godisch |
---|---|
date | Mon, 17 Feb 2003 09:18:12 +0000 |
parents | 00766bc86962 |
children | a6e66cc358e8 |
files | ChangeLog debian/changelog debian/logcheck src/noffle.c |
diffstat | 4 files changed, 13 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 <martin@godisch.de> + +* src/noffle.c: Added logging when fetching news started/finished. + See Debian bug #181320. + Thu Feb 13 2003 Jim Hague <jim.hague@acm.org> * src/database.c: Accept articles with no body, substituting a body of a
--- 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 <godisch@tcs.inf.tu-dresden.de> Sun, 16 Feb 2003 09:44:44 +0100 + -- Martin A. Godisch <godisch@tcs.inf.tu-dresden.de> Mon, 17 Feb 2003 10:05:21 +0100 noffle (1.1.4-1) unstable; urgency=medium
--- 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
--- 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(); }