Skip to content

Commit 535f6b6

Browse files
authored
Merge branch 'master' into add-dokka-and-kdoc
2 parents bb86e65 + d04a6ff commit 535f6b6

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,13 @@ On Windows, it's easier to run the server in docker while specifying the host as
213213

214214
The standalone server supports the following configuration by `ENV` variables:
215215

216-
| Variable | Description |
217-
| --- | --- |
218-
| `SERVER_HOSTNAME`| Lets the standalone server bind to a specific hostname, by default it binds to `0.0.0.0` |
216+
| Variable | Description |
217+
|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
218+
| `SERVER_HOSTNAME` | Lets the standalone server bind to a specific hostname, by default it binds to `0.0.0.0` |
219219
| `SERVER_PORT` or `PORT` | The port that the standalone server will listen to, defaults to `8080`. The `PORT` environment variable may be used to [run the Docker image on Heroku](https://devcenter.heroku.com/articles/container-registry-and-runtime#pushing-an-existing-image) as per the documentation [here](https://devcenter.heroku.com/articles/setting-the-http-port-for-java-applications). |
220-
| `JSON_CONFIG_PATH`| The absolute path to a json file containing configuration about the OAuth2 part of the server (`OAuth2Config`). More details on the format below. |
221-
| `JSON_CONFIG`| The actual JSON content of `OAuth2Config`, this ENV var takes precedence over the `JSON_CONFIG_PATH` var. More details on the format below.|
220+
| `JSON_CONFIG_PATH` | The absolute path to a json file containing configuration about the OAuth2 part of the server (`OAuth2Config`). More details on the format below. |
221+
| `JSON_CONFIG` | The actual JSON content of `OAuth2Config`, this ENV var takes precedence over the `JSON_CONFIG_PATH` var. More details on the format below. |
222+
| `LOG_LEVEL` | How verbose the root logging output is, defaults to `INFO` |
222223

223224
##### JSON_CONFIG
224225

src/main/resources/logback.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
<logger name="io.netty" level="info" />
1212

13-
<root level="debug">
13+
<variable name="LOG_LEVEL" value="${LOG_LEVEL:-INFO}" />
14+
<root level="${LOG_LEVEL}">
1415
<appender-ref ref="stdout"/>
1516
</root>
1617
</configuration>

0 commit comments

Comments
 (0)