add loglevel setting