[development] RE : Disable watchdog globally
Randy Fay
randy at randyfay.com
Sat Feb 19 16:49:30 UTC 2011
None of this is ok, as the function watchdog() is used everywhere, and it
would then be an undefined function. It just doesn't make any sense from the
beginning.
If you don't want the database logging, you can disable the dblog module and
enable syslog instead, or use another backend logging module.
-Randy
On Sat, Feb 19, 2011 at 9:24 AM, Ryan Chan <ryanchan404 at gmail.com> wrote:
> On Sun, Feb 20, 2011 at 12:08 AM, sivaji j.g <sivaji2009 at gmail.com> wrote:
> >
> >
> > On Sat, Feb 19, 2011 at 7:24 PM, fgm <fgm at osinet.fr> wrote:
> >>
> >> module_disable(module_implements('watchdog'));
> >
> > Don't try this. It attempts to disable "system" the core required module
> in
> > D6.
>
> I am using D7, so assume it is ok?
>
> Thanks.
>
--
Randy Fay
Drupal Module and Site Development
randy at randyfay.com
+1 970.462.7450
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110219/901d2aa7/attachment.html
More information about the development
mailing list