If both the rename and the reopen fail, logFile stayed nil while initialized was still true, panicking on the next write. Propagate the reopen error and retry the open on the next write so it self-heals. |
||
|---|---|---|
| .. | ||
| audit_test.go | ||
| entry.go | ||
| listener.go | ||
| writer.go | ||