[development] Disable watchdog globally

Larry Garfield larry at garfieldtech.com
Sat Feb 19 20:29:45 UTC 2011


Aside from the academic curiosity of it, what possible purpose is there to 
disabling *all* of Drupal's logging and tracking capability?  Certainly not 
performance.  (If you're trying to improve performance that way, you're 
missing something bleedingly obvious elsewhere.)

If you really want Drupal to do *nothing* to help you at all, the dblog and 
syslog modules are, I think, the only core modules to do anything with 
hook_watchdog() so you can just disable those.  

But still, don't do that.  What are you actually trying to accomplish?

--Larry Garfield

On Saturday, February 19, 2011 7:40:24 am Ryan Chan wrote:
> Hello,
> 
> Is it possible to disable watchdog globally using function/API?
> 
> Thanks.


More information about the development mailing list