mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 23:12:16 +02:00
Merge pull request #343 from jug007/hifi-log
Change log file name to "vircadia-.."
This commit is contained in:
commit
96905d0341
1 changed files with 3 additions and 3 deletions
|
@ -38,12 +38,12 @@ private:
|
|||
QMutex _fileMutex;
|
||||
};
|
||||
|
||||
static const QString FILENAME_FORMAT = "hifi-log_%1%2.txt";
|
||||
static const QString FILENAME_FORMAT = "vircadia-log_%1%2.txt";
|
||||
static const QString DATETIME_FORMAT = "yyyy-MM-dd_hh.mm.ss";
|
||||
static const QString LOGS_DIRECTORY = "Logs";
|
||||
static const QString DATETIME_WILDCARD = "20[0-9][0-9]-[01][0-9]-[0-3][0-9]_[0-2][0-9]\\.[0-6][0-9]\\.[0-6][0-9]";
|
||||
static const QString SESSION_WILDCARD = "[0-9a-z]{8}(-[0-9a-z]{4}){3}-[0-9a-z]{12}";
|
||||
static QRegExp LOG_FILENAME_REGEX { "hifi-log_" + DATETIME_WILDCARD + "(_" + SESSION_WILDCARD + ")?\\.txt" };
|
||||
static QRegExp LOG_FILENAME_REGEX { "vircadia-log_" + DATETIME_WILDCARD + "(_" + SESSION_WILDCARD + ")?\\.txt" };
|
||||
static QUuid SESSION_ID;
|
||||
|
||||
// Max log size is 512 KB. We send log files to our crash reporter, so we want to keep this relatively
|
||||
|
@ -68,7 +68,7 @@ QString getLogRollerFilename() {
|
|||
}
|
||||
|
||||
const QString& getLogFilename() {
|
||||
static QString fileName = FileUtils::standardPath(LOGS_DIRECTORY) + "hifi-log.txt";
|
||||
static QString fileName = FileUtils::standardPath(LOGS_DIRECTORY) + "vircadia-log.txt";
|
||||
return fileName;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue