]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: reduce Gil verbosity at level 20
authorJohn Spray <john.spray@redhat.com>
Wed, 26 Jul 2017 11:21:40 +0000 (07:21 -0400)
committerJohn Spray <john.spray@redhat.com>
Mon, 16 Oct 2017 11:06:22 +0000 (07:06 -0400)
Even at 20, it's pretty heavy to be logging
every lock acquire/release.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mgr/Gil.h

index 522d4b0e18add69f85f6d52e9a9d85a19a448548..0c401c0a912347f53fe61d7fdcbeae6d2b935872 100644 (file)
@@ -47,7 +47,7 @@ public:
 
     // Acquire the GIL, set the current thread state
     PyEval_RestoreThread(pThreadState);
-    dout(20) << "GIL acquired for thread state " << pThreadState << dendl;
+    dout(25) << "GIL acquired for thread state " << pThreadState << dendl;
 
     //
     // If called from a separate OS thread (i.e. a thread not created
@@ -84,7 +84,7 @@ public:
     }
     // Release the GIL, reset the thread state to NULL
     PyEval_SaveThread();
-    dout(20) << "GIL released for thread state " << pThreadState << dendl;
+    dout(25) << "GIL released for thread state " << pThreadState << dendl;
   }
 
 private: