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`

---
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
  - Updated the logging file destination to `/var/log/graphql-api.log`.
  - Streamlined configuration formatting for enhanced clarity.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Eli Bosley <ekbosley@gmail.com>
This commit is contained in:
Pujit Mehrotra
2025-02-18 09:47:42 -05:00
committed by GitHub
parent 2b163b361a
commit 9bc8060a83

View File

@@ -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
}
]
}
}