From: Aaron Schulz Date: Sun, 3 Dec 2017 03:54:08 +0000 (-0800) Subject: Lower DatabaseMysqlBase::lock logging to INFO X-Git-Tag: 1.31.0-rc.0~1313 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=62bb392e9e8b31acabc55e27cf944635956f5dc7;p=lhc%2Fweb%2Fwiklou.git Lower DatabaseMysqlBase::lock logging to INFO Whether the lock() acquisition failing is a huge problem depends on what the caller is doing. Let the caller do any logging it needs. Bug: T180793 Change-Id: I3d05138d312d8b973df153bb511e69619d663c9d --- diff --git a/includes/libs/rdbms/database/DatabaseMysqlBase.php b/includes/libs/rdbms/database/DatabaseMysqlBase.php index e0ff475959..305a056900 100644 --- a/includes/libs/rdbms/database/DatabaseMysqlBase.php +++ b/includes/libs/rdbms/database/DatabaseMysqlBase.php @@ -1044,7 +1044,7 @@ abstract class DatabaseMysqlBase extends Database { return true; } - $this->queryLogger->warning( __METHOD__ . " failed to acquire lock '{lockname}'", + $this->queryLogger->info( __METHOD__ . " failed to acquire lock '{lockname}'", [ 'lockname' => $lockName ] ); return false;