Separate fatal.log from error.log #4351
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
Fatal erros are that will cause process terminated. Fatal logs are used for outputing information of fatal errors.
Now TiFlash only has one kind of fatal logs: BaseDaemon will print logs when catch some signals and then exit. In the future we may have more kinds of fatal logs.
Fatal logs are different from normal error logs in that:
\n
, so that BaseDaemon can print the stacktrace in one log record.The text was updated successfully, but these errors were encountered: