tiup icon indicating copy to clipboard operation
tiup copied to clipboard

TiUP should also record audit if received a signal

Open YangKeao opened this issue 4 months ago • 1 comments

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:

YangKeao avatar Aug 29 '25 17:08 YangKeao

/assign @YangKeao

Let me try to fix it the next week 😆 . It seems to be easy.

YangKeao avatar Aug 29 '25 17:08 YangKeao