Add BGP_LOG_LEVEL environment variable support to ExaBGP configuration. Update Docker_RUN.md to document new log level option and modify start.sh to utilize the log level during ExaBGP startup.
Build and Push Docker Image / build (push) Successful in 3m16s

This commit is contained in:
2025-07-11 16:43:16 +07:00
parent 8c4e527913
commit d795a9ec7d
3 changed files with 6 additions and 8 deletions
+3 -2
View File
@@ -51,9 +51,10 @@ cat /app/exabgp.conf
echo "---"
exabgp --validate /app/exabgp.conf
# Запуск ExaBGP в фоновом режиме
# Запуск ExaBGP в фоновом режиме с логированием
echo "Starting ExaBGP..."
exabgp /app/exabgp.conf &
LOG_LEVEL=${BGP_LOG_LEVEL:-INFO}
exabgp --log.level $LOG_LEVEL /app/exabgp.conf > /app/logs/exabgp.log 2>&1 &
# Сохранение PID
EXABGP_PID=$!