Skip to content

Commit

Permalink
Merge pull request #137 from fandrei/issue-137
Browse files Browse the repository at this point in the history
Ensure Log4Net config is rendered correctly by github
  • Loading branch information
fandrei committed Jun 24, 2013
2 parents 4c0aa5f + 2b16b19 commit a0ad86b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions AppMetrics.Client.Log4Net/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Configuring AppMetrics and log4net integration
### Configuring AppMetrics and log4net integration

1. To send all Log4Net output to AppMetrics, add the following config elements to your App.Config file:

```
<configuration>
<log4net>
<appender name="AppMetrics" type="AppMetrics.Client.Log4Net.Log4NetAppender">
Expand All @@ -14,5 +15,6 @@ Configuring AppMetrics and log4net integration
</appender>
</log4net>
</configuration>
```

2. When you need to send data both to log4net and AppMetrics, use the AppMetrics.Client.Log4Net.Log4NetTracker class instead of AppMetrics.Client.Tracker; it will ensure formatting is recognized by AppMetrics Analytics correctly.
1. When you need to send data both to log4net and AppMetrics, use the AppMetrics.Client.Log4Net.Log4NetTracker class instead of AppMetrics.Client.Tracker; it will ensure formatting is recognized by AppMetrics Analytics correctly.

0 comments on commit a0ad86b

Please sign in to comment.