python get current logging configuration