adding loglevel to the logging output