Allow to select log level, refs #3