Skip to content

Commit

Permalink
Use the same log level as the other fd event messages
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mnaberez committed Jul 14, 2024
1 parent 0e0d3ff commit b537e0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions supervisor/supervisord.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def runforever(self):
else:
# if the fd is not in combined_map, we should unregister it. otherwise,
# it will be polled every time, which may cause 100% cpu usage
self.options.logger.warn('unexpected read event from fd %r' % fd)
self.options.logger.blather('unexpected read event from fd %r' % fd)
try:
self.options.poller.unregister_readable(fd)
except:
Expand All @@ -246,7 +246,7 @@ def runforever(self):
except:
combined_map[fd].handle_error()
else:
self.options.logger.warn('unexpected write event from fd %r' % fd)
self.options.logger.blather('unexpected write event from fd %r' % fd)
try:
self.options.poller.unregister_writable(fd)
except:
Expand Down

0 comments on commit b537e0f

Please sign in to comment.