Fixed bug in basic_logger() that always made logger level INFO.