My program has a lot of logs, so the fly logs may be overwritten. It is difficult to find the reason.
I have tried the following
./main 2>>err.log
But when the panic actually occurs, the instance of the container changes, so the err.log is gone.
question
- How to distinguish whether the restart is caused by insufficient memory, or the panic is caused by a program bug
- How to redirect key logs to facilitate finding problems
- Fly logs login does not depend on the browser