We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f47306 commit df94de4Copy full SHA for df94de4
1 file changed
README.md
@@ -60,6 +60,18 @@ To create the certificate used in this sample code:
60
At this point, the client and server code will be able to utilize the certificate for token signing and validation.
61
62
63
+Logging
64
+-------
65
+
66
+You can enable logging for this library by configuring a log4net logger in your web.config file - similar to the sample site's
67
+web.config file. The logger you need to enable is called `JwtAuthForWebAPI.JwtAuthenticationMessageHandler`. You need web.config
68
+content, as well as the following line in your site startup code:
69
70
+ log4net.Config.XmlConfigurator.Configure();
71
72
+Please view the web.config file in the JwtAuthForWebAPI.SampleSite project for an example of setting up the logger.
73
74
75
76
77
0 commit comments