adding logging with log level capabilities