mirror of
https://github.com/unraid/api.git
synced 2026-01-01 06:01:18 -06:00
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:
@@ -11,15 +11,9 @@
|
|||||||
"max_restarts": 10,
|
"max_restarts": 10,
|
||||||
"min_uptime": 10000,
|
"min_uptime": 10000,
|
||||||
"watch": false,
|
"watch": false,
|
||||||
"ignore_watch": [
|
"ignore_watch": ["node_modules", "src", ".env.*", "myservers.cfg"],
|
||||||
"node_modules",
|
"log_file": "/var/log/graphql-api.log",
|
||||||
"src",
|
|
||||||
".env.*",
|
|
||||||
"myservers.cfg"
|
|
||||||
],
|
|
||||||
"out_file": "/var/log/unraid-api/unraid-api.log",
|
|
||||||
"error_file": "/var/log/unraid-api/unraid-api.error.log",
|
|
||||||
"kill_timeout": 10000
|
"kill_timeout": 10000
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user