[CSHARP-470] Add logging to the Driver to help determine connection issues Created: 14/May/12 Updated: 26/Oct/15 Resolved: 18/Aug/14 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Diagnostics |
| Affects Version/s: | None |
| Fix Version/s: | 2.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Craig Wilson | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
We built an eventing system into the new Core library that can be implemented to hook into other logging libraries. A simple implementation has been provided that uses a TextWriter (needs to be thread-safe). |
| Comments |
| Comment by Githook User [ 26/Oct/15 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |
| Comment by Craig Wilson [ 09/Jan/14 ] |
|
It's currently under v2.0. Beware this is a very alpha state. In addition, in a different branch, the logging has been changed already, so everything is really in flux. |
| Comment by Wesley McClure [ 09/Jan/14 ] |
|
Awesome, is the v3 branch not available on github? |
| Comment by Craig Wilson [ 09/Jan/14 ] |
|
We have this added in to our next major version. I need to update the fix version on this. Thanks for the offer though. |
| Comment by Wesley McClure [ 09/Jan/14 ] |
|
I'd be happy to implement this, I'd really like to use it on my own projects |
| Comment by Michael Catanzariti [ 01/Apr/13 ] |
|
It would be very usefull to log each query sent to the server and to plug a powerful log framework like log4net. |