Add log for each request in debug
This commit is contained in:
parent
13af00688e
commit
47768da41b
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ async def pipe(reader, writer):
|
||||||
|
|
||||||
async def handle_client(route, local_reader, local_writer):
|
async def handle_client(route, local_reader, local_writer):
|
||||||
try:
|
try:
|
||||||
|
logger.debug(
|
||||||
|
"Openning connection to {}".format(destination_host_display(route))
|
||||||
|
)
|
||||||
remote_reader, remote_writer = await asyncio.open_connection(
|
remote_reader, remote_writer = await asyncio.open_connection(
|
||||||
route.destination_host, route.destination_port
|
route.destination_host, route.destination_port
|
||||||
)
|
)
|
||||||
|
|
Reference in a new issue