mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 08:34:28 +02:00
Bug#38066 Events log 'note' level messages by default in the error log
The event scheduler logged start-, stop-execution messages in the error log
on lowest log-warning level which would lead to very large log files in
a short time.
This patch changes this behavior so that no start-/stop-messages are logged.
Log messages stating successful execution are also removed.
This commit is contained in:
parent
f80fbfa282
commit
f7247addd6
1 changed files with 0 additions and 13 deletions
|
|
@ -301,12 +301,6 @@ Event_worker_thread::run(THD *thd, Event_queue_element_for_exec *event)
|
|||
goto end;
|
||||
}
|
||||
|
||||
sql_print_information("Event Scheduler: "
|
||||
"[%s].[%s.%s] started in thread %lu.",
|
||||
job_data.definer.str,
|
||||
job_data.dbname.str, job_data.name.str,
|
||||
thd->thread_id);
|
||||
|
||||
thd->enable_slow_log= TRUE;
|
||||
|
||||
res= job_data.execute(thd, event->dropped);
|
||||
|
|
@ -318,13 +312,6 @@ Event_worker_thread::run(THD *thd, Event_queue_element_for_exec *event)
|
|||
"[%s].[%s.%s] event execution failed.",
|
||||
job_data.definer.str,
|
||||
job_data.dbname.str, job_data.name.str);
|
||||
else
|
||||
sql_print_information("Event Scheduler: "
|
||||
"[%s].[%s.%s] executed successfully in thread %lu.",
|
||||
job_data.definer.str,
|
||||
job_data.dbname.str, job_data.name.str,
|
||||
thd->thread_id);
|
||||
|
||||
end:
|
||||
DBUG_PRINT("info", ("Done with Event %s.%s", event->dbname.str,
|
||||
event->name.str));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue