Reduce verbosity by replacing `print` calls by logging with different levels
Originally from the Orekit forum: https://forum.orekit.org/t/removing-jvm-already-started-message/3873
- Replace
print("JVM already started, resuming on started JVM")inorekit_jpype.pyby calling Python's logging method withlogging.DEBUGlevel - Also replace the
printcalls inpyhelpers.pyby logging calls withlogging.WARNINGorlogging.ERRORlevel depending on the case- Even better, throw exceptions when no orekit data source is found
https://docs.python.org/3/library/logging.html#logging-levels