瀏覽代碼

Removes usage of panel.logger. Closes #1160

Ask Solem 12 年之前
父節點
當前提交
6eeb489cbc
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      docs/userguide/workers.rst

+ 0 - 1
docs/userguide/workers.rst

@@ -837,6 +837,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'}