The slow_extended patch adds valuable information to the slow query log and you can configure which statistics you want to collect. With this change you can force the slow logging process to use the global values for any variable of the slow_extended patch so you are sure to change the behavior of all threads without a restart. For more information on the concept, see
Patch: use_global_long_query_time