You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ You can find the changes for each version in the [change log](https://github.com
12
12
13
13
## Community Help and Support
14
14
15
-
We leverage [Stack Overflow](http://stackoverflow.com/) to work with the community on supporting Azure Active Directory and its SDKs, including this one! We highly recommend you ask your questions on Stack Overflow (we're all on there!) Also browser existing issues to see if someone has had your question before.
15
+
We leverage [Stack Overflow](http://stackoverflow.com/) to work with the community on supporting Azure Active Directory and its SDKs, including this one! We highly recommend you ask your questions on Stack Overflow (we're all on there!) Also browse existing issues to see if someone has had your question before.
16
16
17
17
We recommend you use the "adal" tag so we can see it! Here is the latest Q&A on Stack Overflow for ADAL: [http://stackoverflow.com/questions/tagged/adal](http://stackoverflow.com/questions/tagged/adal)
18
18
@@ -31,15 +31,29 @@ All code is licensed under the Apache 2.0 license and we triage actively on GitH
31
31
32
32
### Configure the logging
33
33
34
+
#### Personal Identifiable Information (PII) & Organizational Identifiable Information (OII)
35
+
36
+
By default, ADAL logging does not capture or log any PII or OII. The library allows app developers to turn this on by configuring the `loggingWithPII` flag in the logging options. By turning on PII or OII, the app takes responsibility for safely handling highly-sensitive data and complying with any regulatory requirements.
37
+
34
38
```javascript
35
39
var logging =require('adal-node').Logging;
36
40
41
+
//PII or OII logging disabled. Default Logger does not capture any PII or OII.
37
42
logging.setLoggingOptions({
38
43
log:function(level, message, error) {
39
44
// provide your own implementation of the log function
40
45
},
41
46
level:logging.LOGGING_LEVEL.VERBOSE, // provide the logging level
42
-
loggingWithPII:false// Determine if you want to log personal identitification information. The default value is false.
47
+
loggingWithPII:false// Determine if you want to log personal identification information. The default value is false.
48
+
});
49
+
50
+
//PII or OII logging enabled.
51
+
logging.setLoggingOptions({
52
+
log:function(level, message, error) {
53
+
// provide your own implementation of the log function
0 commit comments