{"action":"created","issue":{"url":"https://api.github.com/repos/bchavez/RethinkDb.Driver/issues/12","labels_url":"https://api.github.com/repos/bchavez/RethinkDb.Driver/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/bchavez/RethinkDb.Driver/issues/12/comments","events_url":"https://api.github.com/repos/bchavez/RethinkDb.Driver/issues/12/events","html_url":"https://github.com/bchavez/RethinkDb.Driver/issues/12","id":116736456,"number":12,"title":"Logging using vNext/AspNet5/DNX/etc","user":{"login":"fiLLLip","id":1264369,"avatar_url":"https://avatars.githubusercontent.com/u/1264369?v=3","gravatar_id":"","url":"https://api.github.com/users/fiLLLip","html_url":"https://github.com/fiLLLip","followers_url":"https://api.github.com/users/fiLLLip/followers","following_url":"https://api.github.com/users/fiLLLip/following{/other_user}","gists_url":"https://api.github.com/users/fiLLLip/gists{/gist_id}","starred_url":"https://api.github.com/users/fiLLLip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiLLLip/subscriptions","organizations_url":"https://api.github.com/users/fiLLLip/orgs","repos_url":"https://api.github.com/users/fiLLLip/repos","events_url":"https://api.github.com/users/fiLLLip/events{/privacy}","received_events_url":"https://api.github.com/users/fiLLLip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-13T09:57:12Z","updated_at":"2015-11-18T03:20:27Z","closed_at":null,"body":"In my new projects using vNext/AspNet5/DNX or whatever they are calling it today, I do not have the App.config or Web.config as described in the [wiki](https://github.com/bchavez/RethinkDb.Driver/wiki/Protocol-Debugging).\r\nHow do I activate logging here? Could it be possible to enable this in-code?"},"comment":{"url":"https://api.github.com/repos/bchavez/RethinkDb.Driver/issues/comments/157591624","html_url":"https://github.com/bchavez/RethinkDb.Driver/issues/12#issuecomment-157591624","issue_url":"https://api.github.com/repos/bchavez/RethinkDb.Driver/issues/12","id":157591624,"user":{"login":"bchavez","id":478118,"avatar_url":"https://avatars.githubusercontent.com/u/478118?v=3","gravatar_id":"","url":"https://api.github.com/users/bchavez","html_url":"https://github.com/bchavez","followers_url":"https://api.github.com/users/bchavez/followers","following_url":"https://api.github.com/users/bchavez/following{/other_user}","gists_url":"https://api.github.com/users/bchavez/gists{/gist_id}","starred_url":"https://api.github.com/users/bchavez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bchavez/subscriptions","organizations_url":"https://api.github.com/users/bchavez/orgs","repos_url":"https://api.github.com/users/bchavez/repos","events_url":"https://api.github.com/users/bchavez/events{/privacy}","received_events_url":"https://api.github.com/users/bchavez/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T03:20:26Z","updated_at":"2015-11-18T03:20:26Z","body":"Hi @fiLLLip , I had some time to look at this. Use the RethinkDb.Driver `EnableRethinkDbLogging();` extension method for DNX/CoreCLR in your `Startup.cs` or console start up. It's an extension for `ILoggerFactory loggerFactory`.\r\n\r\nHere's the logging configuration I used:\r\n```\r\nloggerFactory.MinimumLevel = LogLevel.Debug;\r\nloggerFactory.AddConsole(LogLevel.Debug);\r\nloggerFactory.AddDebug(LogLevel.Debug);\r\nloggerFactory.EnableRethinkDbLogging();\r\n```\r\n"}}