Added how to get log as text file

This commit is contained in:
Benjamin Harder
2025-05-18 18:28:40 +02:00
parent 69bcccee5c
commit 5b1d294a7d
4 changed files with 8 additions and 6 deletions

View File

@@ -3,4 +3,5 @@ __pycache__/
test*.py
ToDo
.vscode
.notebooks
.notebooks
logs/*

3
.gitignore vendored
View File

@@ -8,4 +8,5 @@ venv
.venv
temp
.notebooks
**/old/
**/old/
logs/*

View File

@@ -148,8 +148,8 @@ services:
PUID: 1000
PGID: 1000
volumes:
- $DOCKERDIR/appdata/decluttarr/config.yaml:/config/config.yaml
# - $DOCKERDIR/appdata/decluttarr/logs.txt:/temp/logs.txt # Uncomment to get logs in text file, too
- $DOCKERDIR/appdata/decluttarr/config.yaml:/app/config/config.yaml
# - $DOCKERDIR/appdata/decluttarr/logs:/app/logs # Uncomment to get logs in text file, too
```
@@ -259,7 +259,7 @@ services:
# name: "qBittorrent" # (optional -> if not provided, assuming "qBittorrent". Must correspond with what is specified in your *arr as download client name)
volumes:
# - $DOCKERDIR/appdata/decluttarr/logs.txt:/temp/logs.txt # Uncomment to get logs in text file, too
# - $DOCKERDIR/appdata/decluttarr/logs:/app/logs # Uncomment to get logs in text file, too
```

View File

@@ -14,7 +14,7 @@ class Envs:
class Paths:
logs = "./temp/logs.txt"
logs = "./logs/logs.txt"
config_file = "./config/config.yaml"