Make log level configurable