Skip to content

Commit

Permalink
Use "name" instead of "key" in nlog
Browse files Browse the repository at this point in the history
the nlog variable attributes should be "name" and not "key" as per:

https://github.com/NLog/NLog/wiki/Configuration-file#variables
  • Loading branch information
Craig Waite authored and Maor committed May 18, 2017
1 parent 289d3cc commit 3d3953b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/nlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ Any variables defined in the NLog configuration will be forwarded to Logzio. For

```xml
<nlog>
<variable key="site" value="New Zealand" />
<variable key="rings" value="one" />
<variable name="site" value="New Zealand" />
<variable name="rings" value="one" />
</nlog>
```

Expand All @@ -80,4 +80,4 @@ If you want to change some of the fields or add some of your own, inherit the ta
}
```

You will then have to change your configuration in order to use your own target.
You will then have to change your configuration in order to use your own target.

0 comments on commit 3d3953b

Please sign in to comment.