add log level, for issue #1