Browse Source

Removes usage of panel.logger. Closes #1160

Ask Solem 12 năm trước cách đây
mục cha
commit
97deac784b
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      docs/userguide/workers.rst

+ 0 - 1
docs/userguide/workers.rst

@@ -824,6 +824,5 @@ Here's an example control command that restarts the broker connection:
 
     @Panel.register
     def reset_connection(panel):
-        panel.logger.critical('Connection reset by remote control.')
         panel.consumer.reset_connection()
         return {'ok': 'connection reset'}