SlideRuleEarth / sliderule

Server and client framework for on-demand science data processing in the cloud
https://slideruleearth.io
Other
26 stars 11 forks source link

Verbose logging more convenient #359

Closed jpswinski closed 7 months ago

jpswinski commented 7 months ago

This PR simplifies the user experience for getting basic messages logged to the console when calling SlideRule APIs.

Previously

This design gives the user full control - they can create individual handlers for the log messages generated in each of the submodules of the SlideRule Python client, and manage exactly how they are displayed. It also separates out the log messages coming from the server (which typically are a lot), from the log messages generated by the client (which typically are a few).

But in the vast majority of the cases, a user either wants to see messages printed to their screen, or they don't want to see anything. And the verbose option intuitively should control this.

Changes in this PR