cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2153
Views
3
Helpful
2
Replies

Meraki api, python calls generate logs on screen

pamirian76
Level 5
Level 5

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

Accepted Solutions

pamirian76
Level 5
Level 5

found my answer,

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

View solution in original post

2 Replies 2

pamirian76
Level 5
Level 5

found my answer,

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

sungod
Level 11
Level 11

You might also want to add...

        output_log=False,
        suppress_logging=True,

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