Explorar o código

Fix log format for http server and http channel objects

Son Nguyen %!s(int64=10) %!d(string=hai) anos
pai
achega
8077b2e0e9
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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: