mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +08:00
refs #657 Applications started at the same time should write to different log files.
This commit is contained in:
@@ -88,6 +88,8 @@ namespace BlackMisc
|
||||
filename += m_applicationName;
|
||||
filename += QLatin1String("_");
|
||||
filename += QDateTime::currentDateTime().toString(QStringLiteral("yyMMddhhmmss"));
|
||||
filename += QLatin1String("_");
|
||||
filename += QString::number(QCoreApplication::applicationPid());
|
||||
filename += QLatin1String(".log");
|
||||
return filename;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user