- Changed view-logs to read docker container logs (docker logs spawner)
- Updated clear-logs to inform that docker logs cannot be deleted - Updated documentation to reflect docker-based log reading - No log file needed anymore"
This commit is contained in:
parent
cbc60a08e4
commit
5dcc731d7c
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -167,6 +167,7 @@ junit.xml
|
||||||
# CLAUDE.md enthaelt projektspezifische Instruktionen fuer Claude Code
|
# CLAUDE.md enthaelt projektspezifische Instruktionen fuer Claude Code
|
||||||
# Kann bei Bedarf auskommentiert werden um es zu behalten
|
# Kann bei Bedarf auskommentiert werden um es zu behalten
|
||||||
CLAUDE.md
|
CLAUDE.md
|
||||||
|
CLAUDE-RULES.md
|
||||||
.claude/
|
.claude/
|
||||||
# AGENTS.md - Guide fuer agentic coding assistants
|
# AGENTS.md - Guide fuer agentic coding assistants
|
||||||
# Wird von AI-Assistenten zum Verstaendnis der Codebase verwendet
|
# Wird von AI-Assistenten zum Verstaendnis der Codebase verwendet
|
||||||
|
|
|
||||||
|
|
@ -592,7 +592,7 @@ curl -H "X-Debug-Token: xxx" \
|
||||||
"http://localhost:5000/api/admin/debug?action=view-logs"
|
"http://localhost:5000/api/admin/debug?action=view-logs"
|
||||||
```
|
```
|
||||||
|
|
||||||
Zeigt die **letzten 100 Zeilen** der Logs mit Zeilenanzahl.
|
Zeigt die **letzten 100 Zeilen** der Docker Container Logs (entspricht `docker logs spawner --tail 100`).
|
||||||
|
|
||||||
#### 2. Logs löschen (clear-logs)
|
#### 2. Logs löschen (clear-logs)
|
||||||
|
|
||||||
|
|
@ -601,7 +601,14 @@ curl -H "X-Debug-Token: xxx" \
|
||||||
"http://localhost:5000/api/admin/debug?action=clear-logs"
|
"http://localhost:5000/api/admin/debug?action=clear-logs"
|
||||||
```
|
```
|
||||||
|
|
||||||
Löscht **alle Logs** komplett. Danach ist die Log-Datei leer.
|
**Docker-Logs können nicht gelöscht werden!** Diese Action ist informativ. Um Logs zu löschen, nutze stattdessen:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker-compose down
|
||||||
|
docker-compose up -d spawner
|
||||||
|
```
|
||||||
|
|
||||||
|
Das startet den Container neu und die Logs werden geleert.
|
||||||
|
|
||||||
#### 3. User entfernen (delete-email)
|
#### 3. User entfernen (delete-email)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user