Make log level configurable
Always log exception type
Log exceptions with log level ERROR
Log UnexpectedEndOfInput with log level debug