Closed (fixed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2009 at 17:18 UTC
Updated:
17 Jul 2014 at 08:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
m3avrck commentedAlso would be great to have an admin page showing each feed, last time updated, etc... nice quick browse page for admins.
Comment #2
alex_b commentedRelated: #870540: Option to suppress watchdog message
Comment #3
alex_b commentedFrom #870540-6: Option to suppress watchdog message: relate log entries to feed nodes so that they can be browsed by (together with the) feed node.
Comment #4
rbrownell+1 Subscribe
Comment #5
alex_b commentedThis is a first untested shot at moving all watchdog logged activity to a feeds log. The vision here is to log related to importer / source and higher detail and eventually provide a log tab on sources.
http://skitch.com/alexbarth/dhw6h/country-relief-web
Comment #6
alex_b commentedThis will also allow for much more verbose logging as we won't clog the watchdog log anymore.
- Add log messages when items are created/updated #948936: Add watchdog entry on node create/update
Comment #7
alex_b commented- Added update hook.
- Added views integration.
- Added default view.
See default view on a feed node:
http://skitch.com/alexbarth/dhigw/feeds-test-site
Open:
- log tab on standalone form is not working (you'll see I've reworked hook_menu() but log tab is still not showing).
- add a global log view on admin/reports/feeds.
Comment #8
alex_b commentedThis patch adds:
- log tab on standalone form is not working (you'll see I've reworked hook_menu() but log tab is still not showing).
- Severity filter on both feed nodes and standalone form.
Missing:
An all subscriptions log on admin/report/feeds
Comment #9
alex_b commentedThis is complete now. Will commit shortly.
Comment #10
alex_b commentedMore tests revealed... that I forgot to export the improved view.
- Adds all subscriptions log on admin/reports/feeds, including necessary views integration.
Comment #11
alex_b commentedThis is committed now.
http://drupal.org/cvs?commit=441580
It would be great if someone wanted to backport this patch to 6.x 1.x, shouldn't be too hard and I think a lot of people could benefit from this improvement.
Comment #12
twistor commentedThis is a quick port. It's still using views 3. There should probably be logging added to processors besides the node processor or we could move it into FeedsProcessor. Tests pass.
Comment #13
EvanDonovan commentedLooks like a good improvement; maybe I'll test tomorrow, but I would have to upgrade to Views 3.
Would it be out of scope to add logging of feed import times to this patch? I'm trying to figure out how long it takes for my feeds to import, to assess the scalability of the system. See http://drupalbin.com/18789 for how I'm trying to do it.
It looks like if I could get access to the currently active $importer, I could at least log the importer title using
$importer->config['name'];. But could I also get the number of nodes imported?Comment #14
EvanDonovan commentedIf I'm not mistaken, it looks like the issue marked duplicate at #948936: Add watchdog entry on node create/update to show how many created/updated is not actually in the committed patch, or the one for 6.x. Am I correct?
Here's some code that adds more detailed logging for nodes created/updated. The only thing I haven't figured out yet is how to get the name of the feed from which the nodes are being imported:
Comment #15
njbooher commentedThis is the patch from #12 updated to latest head with Views 2 support.
Comment #16
emackn commentedlooks like some of this got in already, so I'm marking this postponed until it's sorted out.
Comment #17
twistor commentedNot interesting in backporting this anymore.