ソースを参照

Fix log format for http server and http channel objects

Son Nguyen 10 年 前
コミット
8077b2e0e9
1 ファイル変更2 行追加2 行削除
  1. 2 2
      supervisor/supervisord.py

+ 2 - 2
supervisor/supervisord.py

@@ -217,7 +217,7 @@ class Supervisor:
                     try:
                         dispatcher = combined_map[fd]
                         self.options.logger.blather(
-                            'read event caused by %(dispatcher)s',
+                            'read event caused by %(dispatcher)r',
                             dispatcher=dispatcher)
                         dispatcher.handle_read_event()
                     except asyncore.ExitNow:
@@ -230,7 +230,7 @@ class Supervisor:
                     try:
                         dispatcher = combined_map[fd]
                         self.options.logger.blather(
-                            'write event caused by %(dispatcher)s',
+                            'write event caused by %(dispatcher)r',
                             dispatcher=dispatcher)
                         dispatcher.handle_write_event()
                     except asyncore.ExitNow: