Fix typo that fails retry for connection.
Fix maxsize for log in webui.
Don't encode plain log.