0

How can I disable this message?

log excempt

4
  • 4
    Do you want to fix the problem or just hide errors from your log? You can filter your log.
    – beth
    Sep 17, 2014 at 16:02
  • This is the only log i need to hide/fix. so it isnt usefull for me to disaple them all :). Sep 22, 2014 at 9:43
  • 1
    It isn't useful to disable any error logging. The point of the errors is so you can see them and do something to address them, not hide them.
    – rooby
    Nov 26, 2014 at 12:18
  • agree, just cant find the solution for the problem :) Nov 26, 2014 at 17:33

2 Answers 2

3

If you have the Click Heatmap module enabled, either disable the module or add clickheat to the libraries folder.

Though, looking at the path that is output in the error, it seems that clickheat is probably being included in a template file somewhere, find the code and remove it. Do a search through your files to try to find 'click.php'.

Just disabling database logging will remove it, but will also not log anything else, so this is probably not your best option. Better to fix the problem rather than just hide it.

2

It's possible to disable logging.

admin/config/development/logging

Disabling logging means you'll have no trace that your page is failing to load. Instead of pretending it's not happening, it would be better to find the underlying bug - why are users requesting a page that is failing to load?

If you need to disable the messages in the UI but would like to continue debugging, you can run this command from anywhere within your Drupal directory, assuming you have Drush installed:

drush watchdog-show --tail

This will give you all of the warnings / errors happening as you browse the site.

A truly robust Drupal installation will have an active log which is stored in a service like Splunk. Developers will intentionally add watchdog() functions in their code as a method of defense. Warnings and errors are critical for debugging problems with Drupal sites.

Not the answer you're looking for? Browse other questions tagged or ask your own question.