Closed (won't fix)
Project:
DB Maintenance
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2010 at 14:06 UTC
Updated:
8 Feb 2013 at 19:57 UTC
Whatever I set in config for "Log OPTIMIZE queries", my logs are full of db optimization logs.
This happens on some sites, while other behave correctly (multi site install - same code, separate databese)
Any clue?
thanks for help
Comments
Comment #1
tjferre commentedI have this issue as well, here this is my fix for it. I did make some changes to it as you can see below. Now checking the box will create a watchdog entry for every table that is optimized. Not checking the box will display only one watchdog entry containing all of the tables that were optimized. I didn't want all the entries cluttering up my db log, but I think it is important to have at least one entry noting the optimization occurred.
If you have any questions please let me know.
TJ
Original - line 173 in .module
New - line 173 in .module
I also changed the description & title in the admin settings. - line 202 in .module
Comment #2
deekayen commentedEach of those logging methods have different levels of severity. If you don't like seeing so much, filter out the DEBUG level ones.