make log level configurable

fixes #22