patch 2637f19f7173e59977cd377994b39816084d3b84 Author: E. Bosch Date: Thu Feb 17 00:34:56 CET 2022 * irc: Define IRC connection log as info level, add disconnection log as info as well diff -rN -u old-irgramd/irc.py new-irgramd/irc.py --- old-irgramd/irc.py 2024-11-22 20:26:50.745440123 +0100 +++ new-irgramd/irc.py 2024-11-22 20:26:50.745440123 +0100 @@ -58,7 +58,7 @@ async def run(self, stream, address): user = IRCUser(stream, address) - self.logger.debug('Running client connection from %s:%s', address[0], address[1]) + self.logger.info('Running IRC client connection from %s:%s', address[0], address[1]) while True: try: @@ -67,6 +67,7 @@ user.stream = None reason = user.close_reason if user.close_reason else ':Client disconnect' await self.send_users_irc(user, 'QUIT', (reason,)) + self.logger.info('Closing IRC client connection from %s:%s', address[0], address[1]) if user in self.users.values(): del self.users[user.irc_nick.lower()] user.del_from_channels(self)