equinor / xtgeo

XTGeo Python class library for subsurface Surfaces, Cubes, Wells, Grids, Points, etc
https://xtgeo.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
109 stars 56 forks source link

Split `info` logging into `debug` where reasonable #948

Open mferrera opened 8 months ago

mferrera commented 8 months ago

Many things are logged as info that belong more in the category of debug information. This issue should be updated with more specifics when they are understood (what should be logged to info?) and referenced in pull requests on a campfire principle basis, i.e. logging statements are updated when code in proximity is touched.

This will make debugging easier such that we can increase the granularity of information when it is needed rather than be flooded with statements by default.

jcrivenaes commented 4 months ago

Yes the usage of loggingis inconsistent, and need a cleanup. It might be an idea to first agree on principles, and perhaps first outline those principles under the "Contribution" part in the docs.