diff --git a/libraries/DatabaseInterface.php b/libraries/DatabaseInterface.php index 7823c03668..d5445ac6cd 100644 --- a/libraries/DatabaseInterface.php +++ b/libraries/DatabaseInterface.php @@ -280,6 +280,7 @@ class DatabaseInterface 'SQL[' . basename($_SERVER['SCRIPT_NAME']) . ']: ' . sprintf('%0.3f', $time) . ' > ' . $query ); + closelog(); } } diff --git a/libraries/Logging.php b/libraries/Logging.php index d8d018028e..09c225df94 100644 --- a/libraries/Logging.php +++ b/libraries/Logging.php @@ -37,6 +37,7 @@ class Logging 'user denied: ' . $user . ' (' . $status . ') from ' . PMA_getIp() ); + closelog(); } } }