diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2021-01-11 11:54:21 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-11 11:54:21 -0600 |
| commit | d54d1c1b729d86953903f25e8b0d7c2104c7c3f5 (patch) | |
| tree | be706f14c2ef7b84a7e82d100e3fcfd96363332f | |
| parent | 812d04d969afd59c87295ddb23e67b758253b313 (diff) | |
| parent | 2ee2cd8bf2bf171e7fcc62e685389b8b21838fd9 (diff) | |
Merge pull request #397 from skyedeving/rename-log
Set log filename to a more sortable format
| -rw-r--r-- | src/packet_distribution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index 15cb31b0..7819cd50 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -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(), |
