Fix kwargs issue

The logging module must set the kwargs-'info' and 'kwargs-error' argument to {}.
The logging module sets the level via logging.setLevel().