Skip to content

Commit d2a7f3a

Browse files
committed
Make new connection messages an info (rather than debug) event
Closes #196
1 parent 498ac99 commit d2a7f3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

emailproxy.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
__author__ = 'Simon Robinson'
77
__copyright__ = 'Copyright (c) 2023 Simon Robinson'
88
__license__ = 'Apache 2.0'
9-
__version__ = '2023-10-30' # ISO 8601 (YYYY-MM-DD)
9+
__version__ = '2023-10-31' # ISO 8601 (YYYY-MM-DD)
1010

1111
import abc
1212
import argparse
@@ -2014,8 +2014,8 @@ def handle_accepted(self, connection_socket, address):
20142014
if MAX_CONNECTIONS <= 0 or len(self.client_connections) < MAX_CONNECTIONS:
20152015
new_server_connection = None
20162016
try:
2017-
Log.debug('Accepting new connection to', self.info_string(), 'from',
2018-
Log.format_host_port(connection_socket.getpeername()))
2017+
Log.info('Accepting new connection from', Log.format_host_port(connection_socket.getpeername()),
2018+
'to', self.info_string())
20192019
socket_map = {}
20202020
server_class = globals()['%sOAuth2ServerConnection' % self.proxy_type]
20212021
new_server_connection = server_class(connection_socket, socket_map, self, self.custom_configuration)

0 commit comments

Comments
 (0)