Make logger level configurable