mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-05 14:36:27 +01:00
Add: Daily file logs and log server settings
This commit is contained in:
1 parent
2c6cfae6a1
commit
75ba884932
7 files changed
+274
-16
No files matched your search
@@ -68,7 +68,7 @@ class StreamManager {
|
||||
if (!dirs || !dirs.length) return true
|
||||
|
||||
await Promise.all(dirs.map(async (dirname) => {
|
||||
if (dirname !== 'streams' && dirname !== 'books' && dirname !== 'downloads' && dirname !== 'backups') {
|
||||
if (dirname !== 'streams' && dirname !== 'books' && dirname !== 'downloads' && dirname !== 'backups' && dirname !== 'logs') {
|
||||
var fullPath = Path.join(this.MetadataPath, dirname)
|
||||
Logger.warn(`Removing OLD Orphan Stream ${dirname}`)
|
||||
return fs.remove(fullPath)
|
||||
|
||||
Reference in new issue
Block a user