CFY-1185 added option to pass logging level to setup_default_logger
CFY-1185 made create_message_prefix public