Meraki api, python calls generate logs on screen

Solved
PatrickA
Here to help

Meraki api, python calls generate logs on screen

hi guys,

 

so I use python to do some coding calling meraki python class.

 

it generates stff on the screen that I don't want to see such as,

2022-09-15 14:25:55 meraki: INFO > Meraki dashboard API session initialized with these parameters: <removed many more lines>

 

how do I get rid of this? I just want to see my program output not all the stuff the meraki class is dumping on screen.

 

thanks.

1 Accepted Solution
PatrickA
Here to help

found my answer,

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

 

View solution in original post

2 Replies 2
PatrickA
Here to help

found my answer,

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

 

sungod
Head in the Cloud

You might also want to add...

 

        output_log=False,
        suppress_logging=True,

 

...there are several other things you can set.

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.