Files
DenozordecandCursor 3f0dd6c234 docs(runtime-logs): implement runtime log management features
Добавлены новые возможности для работы с файловыми логами Docker-сервисов:
- Эндпоинты для получения списка логов и хвоста лог-файла.
- Очистка лог-файлов с возможностью выбора режима (truncate или delete) и запись в аудит очистки.
- Обновлена документация и конфигурация для поддержки новых функций.

Co-authored-by: Cursor <[email protected]>
2026-06-12 19:04:53 +07:00

17 lines
546 B
Go

package runtimelogs
const (
// MaxCleanupBytes is the maximum file size eligible for sync cleanup.
MaxCleanupBytes = 512 * 1024 * 1024
// DefaultTailLines is the default number of lines returned from Tail.
DefaultTailLines = 200
// MaxTailLines caps the lines query parameter.
MaxTailLines = 2000
// MaxTailBytes caps tail read size.
MaxTailBytes = 256 * 1024
// MaxGrepLen caps optional grep filter length.
MaxGrepLen = 128
// ServiceNameAll is the only process role that may access runtime logs FS.
ServiceNameAll = "evobgp-all"
)