@@ -89,15 +89,15 @@ public function acquire($blocking = false)
8989 return true ;
9090 } catch (LockConflictedException $ e ) {
9191 $ this ->dirty = false ;
92- $ this ->logger ->warning ('Failed to acquire the "{resource}" lock. Someone else already acquired the lock. ' , array ('resource ' => $ this ->key ));
92+ $ this ->logger ->notice ('Failed to acquire the "{resource}" lock. Someone else already acquired the lock. ' , array ('resource ' => $ this ->key ));
9393
9494 if ($ blocking ) {
9595 throw $ e ;
9696 }
9797
9898 return false ;
9999 } catch (\Exception $ e ) {
100- $ this ->logger ->warning ('Failed to acquire the "{resource}" lock. ' , array ('resource ' => $ this ->key , 'exception ' => $ e ));
100+ $ this ->logger ->notice ('Failed to acquire the "{resource}" lock. ' , array ('resource ' => $ this ->key , 'exception ' => $ e ));
101101 throw new LockAcquiringException (sprintf ('Failed to acquire the "%s" lock. ' , $ this ->key ), 0 , $ e );
102102 }
103103 }
@@ -123,10 +123,10 @@ public function refresh()
123123 $ this ->logger ->info ('Expiration defined for "{resource}" lock for "{ttl}" seconds. ' , array ('resource ' => $ this ->key , 'ttl ' => $ this ->ttl ));
124124 } catch (LockConflictedException $ e ) {
125125 $ this ->dirty = false ;
126- $ this ->logger ->warning ('Failed to define an expiration for the "{resource}" lock, someone else acquired the lock. ' , array ('resource ' => $ this ->key ));
126+ $ this ->logger ->notice ('Failed to define an expiration for the "{resource}" lock, someone else acquired the lock. ' , array ('resource ' => $ this ->key ));
127127 throw $ e ;
128128 } catch (\Exception $ e ) {
129- $ this ->logger ->warning ('Failed to define an expiration for the "{resource}" lock. ' , array ('resource ' => $ this ->key , 'exception ' => $ e ));
129+ $ this ->logger ->notice ('Failed to define an expiration for the "{resource}" lock. ' , array ('resource ' => $ this ->key , 'exception ' => $ e ));
130130 throw new LockAcquiringException (sprintf ('Failed to define an expiration for the "%s" lock. ' , $ this ->key ), 0 , $ e );
131131 }
132132 }
@@ -148,7 +148,7 @@ public function release()
148148 $ this ->dirty = false ;
149149
150150 if ($ this ->store ->exists ($ this ->key )) {
151- $ this ->logger ->warning ('Failed to release the "{resource}" lock. ' , array ('resource ' => $ this ->key ));
151+ $ this ->logger ->notice ('Failed to release the "{resource}" lock. ' , array ('resource ' => $ this ->key ));
152152 throw new LockReleasingException (sprintf ('Failed to release the "%s" lock. ' , $ this ->key ));
153153 }
154154 }
0 commit comments