Closed gamife closed 2 years ago
version: 0.23 When the log file is empty, the file_stem does not contain .restart-. So the unwrap() is not ok. https://github.com/emabee/flexi_logger/blob/0fca68d9b9d71431d6ca9da09bc0d368b0740cc7/src/writers/file_log_writer/state.rs#L678
file_stem
.restart-
version: 0.23 When the log file is empty, the
file_stem
does not contain.restart-
. So the unwrap() is not ok. https://github.com/emabee/flexi_logger/blob/0fca68d9b9d71431d6ca9da09bc0d368b0740cc7/src/writers/file_log_writer/state.rs#L678