Skip to content

Commit b537e0f

Browse files
committed
Use the same log level as the other fd event messages
This should not be a warning because it only reports on the internal state of supervisord fd event handling; it's not something the user can affect.
1 parent 0e0d3ff commit b537e0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

supervisor/supervisord.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def runforever(self):
225225
else:
226226
# if the fd is not in combined_map, we should unregister it. otherwise,
227227
# it will be polled every time, which may cause 100% cpu usage
228-
self.options.logger.warn('unexpected read event from fd %r' % fd)
228+
self.options.logger.blather('unexpected read event from fd %r' % fd)
229229
try:
230230
self.options.poller.unregister_readable(fd)
231231
except:
@@ -246,7 +246,7 @@ def runforever(self):
246246
except:
247247
combined_map[fd].handle_error()
248248
else:
249-
self.options.logger.warn('unexpected write event from fd %r' % fd)
249+
self.options.logger.blather('unexpected write event from fd %r' % fd)
250250
try:
251251
self.options.poller.unregister_writable(fd)
252252
except:

0 commit comments

Comments
 (0)