mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed wrong filename of logfile in Voxygen's panic message.
Moved the '<date>' component of the logfile name to the end of the filename string, as RollingFileAppender::new() appends the date to the provided file name prefix. Please see https://docs.rs/tracing-appender/0.1.2/tracing_appender/rolling/struct.RollingFileAppender.html#method.new
This commit is contained in:
@ -114,7 +114,7 @@ fn main() {
|
|||||||
PanicInfo: {}\n\
|
PanicInfo: {}\n\
|
||||||
Game version: {} [{}]",
|
Game version: {} [{}]",
|
||||||
logs_dir
|
logs_dir
|
||||||
.join("voxygen-<date>.log")
|
.join("voxygen.log.<date>")
|
||||||
.display(),
|
.display(),
|
||||||
reason,
|
reason,
|
||||||
panic_info,
|
panic_info,
|
||||||
|
Reference in New Issue
Block a user