Closed dveeden closed 2 years ago
The panic comes from pingcap/log. This function involved in this line:
https://github.com/pingcap/log/blob/96f4fcab92a42ef1c7fa4927a22df4747693bee2/log.go#L66
should be allowed to return an error instead of panicking in this line:
I'm going to transfer this to the pingcap/log repository.
Use
--log-format=xml
.Either an XML formatted log or an error saying only text and json are supported
Improvements:
--log-format
--help
output