pynrc.logging_utils.restart_logging

pynrc.logging_utils.restart_logging(verbose=True)[source]

Restart Logging

Restart logging using the same settings as those currently stored in conf.logging_level. This function was shamelessly stolen from WebbPSF utils.py.

Parameters

verbose (boolean) – Should this function print the new logging targets to standard output?