keep the "good" of python's logging, bring back support for logging callbacks