Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Demo how to disable MSAL log but keep other logs
  • Loading branch information
rayluo committed Oct 29, 2019
commit ecede0c1c83a4b359331c91f75da55c857c577a0
3 changes: 2 additions & 1 deletion sample/confidential_client_certificate_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@


# Optional logging
# logging.basicConfig(level=logging.DEBUG)
# logging.basicConfig(level=logging.DEBUG) # Enable DEBUG log for entire script
# logging.getLogger("msal").setLevel(logging.INFO) # Optionally disable MSAL DEBUG logs

config = json.load(open(sys.argv[1]))

Expand Down
3 changes: 2 additions & 1 deletion sample/confidential_client_secret_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@


# Optional logging
# logging.basicConfig(level=logging.DEBUG)
# logging.basicConfig(level=logging.DEBUG) # Enable DEBUG log for entire script
# logging.getLogger("msal").setLevel(logging.INFO) # Optionally disable MSAL DEBUG logs

config = json.load(open(sys.argv[1]))

Expand Down
3 changes: 2 additions & 1 deletion sample/device_flow_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@


# Optional logging
# logging.basicConfig(level=logging.DEBUG)
# logging.basicConfig(level=logging.DEBUG) # Enable DEBUG log for entire script
# logging.getLogger("msal").setLevel(logging.INFO) # Optionally disable MSAL DEBUG logs

config = json.load(open(sys.argv[1]))

Expand Down
3 changes: 2 additions & 1 deletion sample/username_password_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@


# Optional logging
# logging.basicConfig(level=logging.DEBUG)
# logging.basicConfig(level=logging.DEBUG) # Enable DEBUG log for entire script
# logging.getLogger("msal").setLevel(logging.INFO) # Optionally disable MSAL DEBUG logs

config = json.load(open(sys.argv[1]))

Expand Down