Civlo85 / gsmHat

Using the Waveshare GSM/GPRS/GNSS Hat for Raspberry Pi with Python
MIT License
61 stars 26 forks source link

How to stop logging? #10

Open smartroad opened 2 years ago

smartroad commented 2 years ago

I am not using the GPS but I am getting a huge log because it isn't getting valid data.

Is there anyway to turn off the logging? Either that or to turn off the GPS?

smartroad commented 2 years ago

I have changed the logging in the gsmHat.py file from debug to critical. Would be useful if that could be set when starting the instance of gsmHat :)