tiup
tiup copied to clipboard
TiUP should also record audit if received a signal
Feature Request
Is your feature request related to a problem? Please describe:
If a SIGTERM (or other) signal hits tiup, the tiup cluster will not record audit log and debug log.
If tiup panics, it'll also not record audit log and debug log.
Describe the feature you'd like:
Record audit log and debug log even if tiup panics or received a signal.
Why the featue is needed:
Audit log can help us to replay the command.
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
/assign @YangKeao
Let me try to fix it the next week 😆 . It seems to be easy.