Node Gallery logs too many non-important events to watchdog. For example, cache clear for a gallery is not important enough to log it every time. Because default logging method of Drupal is database, and DB write is expensive operation, we should avoid excessive logging.
IMO, events like these should be only logged when debugging / troubleshooting.

CommentFileSizeAuthor
#2 Loging settings.PNG72.47 KBdddave
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

crea’s picture

Issue summary: View changes

better wording

dddave’s picture

I considered opening an issue for this myself when I noticed all the "cache" entries in my watchdog.

dddave’s picture

FileSize
72.47 KB

Attaching a pic of a similar option for font-your-face module in D7.

justintime’s picture

Nah, they just need removed altogether. They were added there when I was developing the caching layer, and I haven't needed to look for those messages in months. If I were to keep them there (and I'm not), I'd convert them to drush_log() statements -- who uses the UI to clear caches anymore? :)

scroogie’s picture

I do. I always have the devel block enabled, and its just quicker most of the time to use the handy link. :P

Nevertheless agree with the change though. Apparently I always ignored the calls. Shows you how good it is to have some additional eyes on the code sometimes.

crea’s picture

Admin Menu allows to clear cache too..and it's quite a popular module to ignore

justintime’s picture

Status: Active » Fixed

Fixed those in 6.x-3.x-dev. @crea, I think you might have missed my bad attempt at humor in #3 :)

crea’s picture

justintime
I can be retarded at times )

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

rewording