mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
refs #450 Changed path for log files in accordance with our new directory structure.
This commit is contained in:
@@ -84,7 +84,8 @@ namespace BlackGui
|
||||
}
|
||||
|
||||
// File logger
|
||||
CFileLogger *fileLogger = new CFileLogger(applicationName, QString(), &a);
|
||||
static const QString logPath = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/org.swift-project/logs";
|
||||
CFileLogger *fileLogger = new CFileLogger(applicationName, logPath, &a);
|
||||
fileLogger->changeLogPattern(CLogPattern().withSeverityAtOrAbove(CStatusMessage::SeverityInfo));
|
||||
|
||||
// GUI icon
|
||||
|
||||
Reference in New Issue
Block a user