From f4ae743455ebd17f4e51e7d5d7e9773b4b6fe085 Mon Sep 17 00:00:00 2001 From: Evgeniy Antonyuk Date: Wed, 12 Feb 2025 11:22:49 +0000 Subject: [PATCH] Restrict the directories for log collection (#10) Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/Docker-DocumentServer/pulls/10 --- run-document-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-document-server.sh b/run-document-server.sh index f751b3c..4a7b2fd 100644 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -792,4 +792,4 @@ start_process documentserver-static-gzip.sh ${ONLYOFFICE_DATA_CONTAINER} echo "${JWT_MESSAGE}" -start_process tail -f /var/log/${COMPANY_NAME}/**/*.log +start_process find "$DS_LOG_DIR" "$DS_LOG_DIR-example" -type f -name "*.log" | xargs tail -f