diff --git a/server/scanner/LibraryScan.js b/server/scanner/LibraryScan.js index e4aec1c7..e533a6c3 100644 --- a/server/scanner/LibraryScan.js +++ b/server/scanner/LibraryScan.js @@ -128,6 +128,7 @@ class LibraryScan { async saveLog() { await Logger.logManager.ensureScanLogDir() + const logDir = Path.join(global.MetadataPath, 'logs', 'scans') const outputPath = Path.join(logDir, this.logFilename) const logLines = [JSON.stringify(this.toJSON())] this.logs.forEach(l => {