Closed (fixed)
Project:
Autoload
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2011 at 17:47 UTC
Updated:
6 May 2011 at 18:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
sdboyer commentedPatch attached.
Comment #2
dave reiddave@XPS410:~/Dropbox/Projects/drupal6dev/sites/all/modules/autoload$ git am 1091176-watchdog-autoload-misses-1.patch
Applying: Issue #1091176: Watchdog autoload registry misses with level WATCHDOG_NOTICE.
error: autoload.module: does not match index
Patch failed at 0001 Issue #1091176: Watchdog autoload registry misses with level WATCHDOG_NOTICE.
When you have resolved this problem run "git am --resolved".
If you would prefer to skip this patch, instead run "git am --skip".
To restore the original branch and stop patching run "git am --abort".
Comment #3
dave reidHrm, apparently that's what happens when I haven't yet authorized git/terminal to use my ssh keys in ubuntu. Once I did that it applied just fine.
Comment #4
dave reidCommitted with http://drupalcode.org/project/autoload.git/commit/af10737
Comment #5
sdboyer commentedAwesome, thanks! Now tagging for a quick deploy...
Comment #6
sdboyer commentedAnd it's deployed. Man does views do a lot of class_exists().
Comment #7
hongpong commentedCould this have a toggle available to optionally quit chattering? get tons of notices, looks like plenty of various views handlers need patchez,
Comment #8
sdboyer commentedYeah, I'd tend to agree. I think it's pretty solid for D7 (where everything ought to be autoloading), but it is really chatty for D6, where it's a mixed environment.
Comment #9
hongpong commentedcould the toggle get placed at the tail of some existing admin screen (ie performance)? rather than adding yet another admin URL. [did a workaround with similar]
Comment #10
gerhard killesreiter commentedyeah, this is much too chatty: #1106146: Update Autoload to 6.x-2.1 - fix for chatty watchdog messages on registry misses
Comment #12
te-brian commentedNot sure if this is still desired.. but I made a patch with the requested setting.
It is added to the existing dblog admin settings form.
Comment #13
dave reidNote that this isn't database logging - it's using watchdog which doesn't necessarily have anything to do with the database. I'd probably prefer this as a hidden variable, probably disabled by default.
Comment #14
hongpong commentedThis patch is a cool idea to put somewhere though. Anything that can make a big stream of watchdog messages should have a way to dial it back in a logical place. nice!
Comment #15
te-brian commentedI'm more than happy with a hidden var. Will update when I'm at work.
Comment #16
te-brian commentedAs requested: changed to a hidden var that defaults to FALSE.
Comment #17
dave reidCommitted #16 with slight modifications to Git.
http://drupalcode.org/project/autoload.git/commit/b563365
Rolled 6.x-2.1 for deployment on d.org.
Comment #18
te-brian commentedGotta love git :)
So nice to be able to easily see your clean-up. I had forgotten about the return value and variable garbage.