cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6893
Views
6
Helpful
2
Replies

Disable logging in Python API v1

Th1b0plz
Community Member

Hi,

Since i'v upgraded API in v1, my python script return messages log for each API call and created log file for each execution.

How can i disable it ?

thks.

1 Accepted Solution

Accepted Solutions

Thanks for your help.

It works at 90% ^^

there is no more log displayed in the terminal, no logging entry in the log file but it still created empty I have found these settings, it works fine.

dashboard = meraki.DashboardAPI(
...
suppress_logging=True
)

View solution in original post

2 Replies 2

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

Use some options like this:

dashboard = meraki.DashboardAPI(
        ...
	output_log=False,
	print_console=False
)

Thanks for your help.

It works at 90% ^^

there is no more log displayed in the terminal, no logging entry in the log file but it still created empty I have found these settings, it works fine.

dashboard = meraki.DashboardAPI(
...
suppress_logging=True
)