def _root_notice(msg, *args, **kwargs):
 if (len(logging.root.handlers) == 0):
  logging.basicConfig()
 logging.root.notice(msg, *args, **kwargs)

def _root_notice ( msg , * args , ** kwargs ) : if ( len ( logging . root . handlers ) == 0 ) : logging . basicConfig ( ) logging . root . notice ( msg , * args , ** kwargs )
log a message with severity notice on the root logger .