mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-12 18:02:40 +01:00
c6b0925954
Summary: Ref T10697. Mostly straightforward. Also allow the server to have multiple logs and log options in the future (e.g., different verbosities or separate admin/client logs or whatever). No specific plans for this, but the default log is pretty noisy today. Test Plan: Set up a couple of logs, started server, saw it log to them. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10697 Differential Revision: https://secure.phabricator.com/D15702
24 lines
400 B
JSON
24 lines
400 B
JSON
{
|
|
"servers": [
|
|
{
|
|
"type": "client",
|
|
"port": 22280,
|
|
"listen": "0.0.0.0",
|
|
"ssl.key": null,
|
|
"ssl.cert": null
|
|
},
|
|
{
|
|
"type": "admin",
|
|
"port": 22281,
|
|
"listen": "127.0.0.1",
|
|
"ssl.key": null,
|
|
"ssl.cert": null
|
|
}
|
|
],
|
|
"logs": [
|
|
{
|
|
"path": "/var/log/aphlict.log"
|
|
}
|
|
],
|
|
"pidfile": "/var/tmp/aphlict/pid/aphlict.pid"
|
|
}
|