As https://github.com/pingcap/log/blob/master/log.go#L53, if we don't customize cfg.File, normal log will be written into stdout, which pollutes the stdout of applications in the downstream.
I see this library distinguishes normal log and error log, and they are designed to be written into different places. So I propose two solutions:
- write all log into stderr by default (may be incompatible)
- keep the default behavior and add an option to allow normal log to be written into stderr (currently only support file path)