Skip to content

Commit 45a13d4

Browse files
committed
Add docs for LOG_WITHOUT_NEWLINE
1 parent c29f982 commit 45a13d4

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,14 @@ Will contain a `json` property in the response/output.
142142
}
143143
}
144144

145+
## No newlines
146+
147+
You can disable new lines in the log output by setting the environment variable `LOG_WITHOUT_NEWLINE`. For example,
148+
149+
```bash
150+
docker run -e LOG_WITHOUT_NEWLINE=true -p 8080:8080 -p 8443:8443 --rm -t mendhak/http-https-echo:28
151+
```
152+
145153
## Send an empty response
146154

147155
You can disable the JSON output in the response by setting the environment variable `ECHO_BACK_TO_CLIENT`. For example,
@@ -281,4 +289,4 @@ To create a new image on Docker Hub, I need to create a tag and push it.
281289

282290
## Changelog
283291

284-
See the [changelog](CHANGELOG.md)
292+
See the [changelog](CHANGELOG.md)

0 commit comments

Comments
 (0)