@@ -89,15 +89,15 @@ public function acquire($blocking = false)
89
89
return true ;
90
90
} catch (LockConflictedException $ e ) {
91
91
$ 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 ));
93
93
94
94
if ($ blocking ) {
95
95
throw $ e ;
96
96
}
97
97
98
98
return false ;
99
99
} 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 ));
101
101
throw new LockAcquiringException (sprintf ('Failed to acquire the "%s" lock. ' , $ this ->key ), 0 , $ e );
102
102
}
103
103
}
@@ -123,10 +123,10 @@ public function refresh()
123
123
$ this ->logger ->info ('Expiration defined for "{resource}" lock for "{ttl}" seconds. ' , array ('resource ' => $ this ->key , 'ttl ' => $ this ->ttl ));
124
124
} catch (LockConflictedException $ e ) {
125
125
$ 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 ));
127
127
throw $ e ;
128
128
} 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 ));
130
130
throw new LockAcquiringException (sprintf ('Failed to define an expiration for the "%s" lock. ' , $ this ->key ), 0 , $ e );
131
131
}
132
132
}
@@ -148,7 +148,7 @@ public function release()
148
148
$ this ->dirty = false ;
149
149
150
150
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 ));
152
152
throw new LockReleasingException (sprintf ('Failed to release the "%s" lock. ' , $ this ->key ));
153
153
}
154
154
}
0 commit comments