Files
Sebastian Krüger 2d5ffac56c
All checks were successful
Build and Push Docker Image to Gitea / build-and-push (push) Successful in 1m13s
fix: correct readLog parameters for Supervisor XML-RPC API
Fixed the readLog() call to use the correct parameters for reading
from the end of the log file. When using a negative offset to read
the last N bytes, the length parameter must be 0, not a positive number.

Changes:
- Updated fetchMainLog default length from 4096 to 0
- Updated API route default length from '4096' to '0'

Correct usage:
- readLog(-4096, 0) - Read last 4096 bytes from end of file
- readLog(0, 4096) - Read 4096 bytes from start of file

This fixes the INCORRECT_PARAMETERS error when fetching the main
supervisord log.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 22:59:22 +01:00
..