Current code does not write panic messages to logs due to race condition which mostly/always is lost due to the nature of buffering logging before IO operation takes place thus panics end up not in file. Proposed solution should ensure that logger writes to file before application is terminated.
Current code does not write panic messages to logs due to race condition which mostly/always is lost due to the nature of buffering logging before IO operation takes place thus panics end up not in file. Proposed solution should ensure that logger writes to file before application is terminated.