mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-03 00:06:46 +01:00
Fix scan log path #1285
This commit is contained in:
parent
4d93e39fa9
commit
106ddc9541
@ -128,6 +128,7 @@ class LibraryScan {
|
|||||||
async saveLog() {
|
async saveLog() {
|
||||||
await Logger.logManager.ensureScanLogDir()
|
await Logger.logManager.ensureScanLogDir()
|
||||||
|
|
||||||
|
const logDir = Path.join(global.MetadataPath, 'logs', 'scans')
|
||||||
const outputPath = Path.join(logDir, this.logFilename)
|
const outputPath = Path.join(logDir, this.logFilename)
|
||||||
const logLines = [JSON.stringify(this.toJSON())]
|
const logLines = [JSON.stringify(this.toJSON())]
|
||||||
this.logs.forEach(l => {
|
this.logs.forEach(l => {
|
||||||
|
Loading…
Reference in New Issue
Block a user