Set log filename to a more sortable format
This commit is contained in:
parent
812d04d969
commit
2ee2cd8bf2
@ -286,7 +286,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet)
|
||||
if (AOApplication::get_auto_logging_enabled()) {
|
||||
this->log_filename = QDateTime::currentDateTime().toUTC().toString(
|
||||
"'logs/" + server_name.remove(QRegExp("[\\\\/:*?\"<>|\']")) +
|
||||
"/'ddd MMMM yyyy hh.mm.ss t'.log'");
|
||||
"/'yyyy-MM-dd hh-mm-ss t'.log'");
|
||||
this->write_to_file("Joined server " + server_name + " on address " +
|
||||
server_address + " on " +
|
||||
QDateTime::currentDateTime().toUTC().toString(),
|
||||
|
Loading…
Reference in New Issue
Block a user