From 3ed487cbce62da0508b52eb942725576fe09a45d Mon Sep 17 00:00:00 2001 From: mercury Date: Mon, 11 Nov 2024 11:46:11 +0400 Subject: [PATCH] xray logs --- config/xray.json | 3 ++- docker-compose.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/xray.json b/config/xray.json index 970af58..eae2f90 100644 --- a/config/xray.json +++ b/config/xray.json @@ -42,7 +42,8 @@ } ], "log": { - "loglevel": "info" + "loglevel": "info", + "access": "/logs/xray" }, "outbounds": [ { diff --git a/docker-compose.yml b/docker-compose.yml index e444103..6fe859e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -413,6 +413,7 @@ services: - ./config/sshd_config:/etc/ssh/sshd_config - ./config/xray.json:/xray.json - ./scripts/start_xray.sh:/start_xray.sh + - ./logs:/logs hostname: xray container_name: xray-${VER} depends_on: