Aaron Schulz has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/394833 )

Change subject: Lower DatabaseMysqlBase::lock loggin to INFO
......................................................................

Lower DatabaseMysqlBase::lock loggin 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
---
M includes/libs/rdbms/database/DatabaseMysqlBase.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/33/394833/1

diff --git a/includes/libs/rdbms/database/DatabaseMysqlBase.php 
b/includes/libs/rdbms/database/DatabaseMysqlBase.php
index e0ff475..305a056 100644
--- a/includes/libs/rdbms/database/DatabaseMysqlBase.php
+++ b/includes/libs/rdbms/database/DatabaseMysqlBase.php
@@ -1044,7 +1044,7 @@
                        return true;
                }
 
-               $this->queryLogger->warning( __METHOD__ . " failed to acquire 
lock '{lockname}'",
+               $this->queryLogger->info( __METHOD__ . " failed to acquire lock 
'{lockname}'",
                        [ 'lockname' => $lockName ] );
 
                return false;

-- 
To view, visit https://gerrit.wikimedia.org/r/394833
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3d05138d312d8b973df153bb511e69619d663c9d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to