Skip to content

Commit 7e58291

Browse files
committed
enable the log to see the detail
1 parent 5dff713 commit 7e58291

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_mqtt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from awscrt.auth import AwsCredentialsProvider
2-
from awscrt.io import ClientBootstrap, DefaultHostResolver, EventLoopGroup
2+
from awscrt.io import ClientBootstrap, DefaultHostResolver, EventLoopGroup,init_logging, LogLevel
33
from awsiot import mqtt_connection_builder
44
import boto3
55
import botocore.exceptions
@@ -70,6 +70,7 @@ def _test_connection(self, connection):
7070
connection.disconnect().result(TIMEOUT)
7171

7272
def test_mtls_from_bytes(self):
73+
init_logging(LogLevel.Trace, 'stderr')
7374
config = Config.get()
7475
elg = EventLoopGroup()
7576
resolver = DefaultHostResolver(elg)

0 commit comments

Comments
 (0)