From 9bc8060a83351aa81ae78c9a345bd2f9f0f4f65f Mon Sep 17 00:00:00 2001 From: Pujit Mehrotra Date: Tue, 18 Feb 2025 09:47:42 -0500 Subject: [PATCH] fix(api): change log output location for diagnostic compatibility (#1130) now outputs logs to `/var/log/graphql-api.log` instead of `/var/log/unraid-api/unraid-api.log` --- ## Summary by CodeRabbit - **Chores** - Updated the logging file destination to `/var/log/graphql-api.log`. - Streamlined configuration formatting for enhanced clarity. --------- Co-authored-by: Eli Bosley --- api/ecosystem.config.json | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/api/ecosystem.config.json b/api/ecosystem.config.json index 17fe2cc79..09412913f 100644 --- a/api/ecosystem.config.json +++ b/api/ecosystem.config.json @@ -11,15 +11,9 @@ "max_restarts": 10, "min_uptime": 10000, "watch": false, - "ignore_watch": [ - "node_modules", - "src", - ".env.*", - "myservers.cfg" - ], - "out_file": "/var/log/unraid-api/unraid-api.log", - "error_file": "/var/log/unraid-api/unraid-api.error.log", + "ignore_watch": ["node_modules", "src", ".env.*", "myservers.cfg"], + "log_file": "/var/log/graphql-api.log", "kill_timeout": 10000 } ] -} \ No newline at end of file +}