Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit f32f2c7

Browse files
author
Adam Warner
committed
Update readme.md and config sample
1 parent 9c027b3 commit f32f2c7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Note: Change the listening port in `docker-compose.yml` if you want it to listen
3232

3333
[Example Config file](https://github.com/PromoFaux/Matterhook.NET/blob/master/config/config.json.sample)
3434

35+
In order to cut down on log spam, incoming payloads that are succesfully posted to Mattermost are not written to the console. If you wish to log everything, you can add `"LogOnlyErrors": false` to the desired config section.
36+
3537
### Discourse Config:
3638

3739
To process Discourse webhooks, point them at `http(s)://<yourdomain>:<port>/DiscourseHook`
@@ -67,8 +69,7 @@ To process Github webhooks, point them at `http(s)://<yourdomain>:<port>/GithubH
6769
```
6870
{
6971
"GithubConfig":{
70-
"Secret":"sfsdfdsfsdfsdfsd",
71-
"VerboseCommitMessages": true,
72+
"Secret":"sfsdfdsfsdfsdfsd",
7273
"DefaultMattermostConfig": {
7374
"WebhookUrl": "https://mattermostserver.com/hooks/asdasdasd",
7475
"Channel": "github-gen",

config/config.json.sample

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
},
1313
"GithubConfig": {
1414
"Secret": "thisismysecret",
15-
"VerboseCommitMessages": false,
1615
"DefaultMattermostConfig": {
1716
"WebhookUrl": "https://mattermostever.com/hooks/adasdasdasd",
1817
"Channel": "atests",
@@ -40,9 +39,10 @@
4039

4140
},
4241
"DockerHubConfig": {
42+
"LogOnlyErrors": false,
4343
"DefaultMattermostConfig": {
4444
"WebhookUrl": "https://mattermostserver.com/hooks/asdasdasd",
45-
"Username": "Docker Hub"
45+
"Username": "Docker Hub"
4646
},
4747
"RepoList": [
4848
{

0 commit comments

Comments
 (0)