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
Copy file name to clipboardExpand all lines: docs/en/Logging.md
+20-3Lines changed: 20 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
# Logging
2
2
3
-
This module uses standard SilverStripe logging (via [monolog](https://github.com/Seldaek/monolog)).
3
+
This module uses standard SilverStripe logging (via [monolog](https://github.com/Seldaek/monolog)).
4
4
Please read the [SilverStripe logging documentation](https://docs.silverstripe.org/en/4/developer_guides/debugging/error_handling/) on how to set up basic logging.
5
5
6
-
By default, the Omnipay module logs to the default logger of SilverStripe.
6
+
By default, the Omnipay module logs to the default logger of SilverStripe.
7
7
If you'd like, you can create a custom Log for Omnipay though (even with a custom error-level).
8
8
9
9
Here's an example config that configures a separate log output for SilverStripe, as well as one for Omnipay:
@@ -49,7 +49,7 @@ There's a config setting `SilverStripe\Omnipay\Helper\Logging.logStyle` that def
49
49
-`'verbose'`: Verbose logging, but strips out sensitive information
50
50
-`'simple'`: Simplified messages (only title, message and code)
51
51
52
-
There's also a setting that controls which data-fields will be sanitized, so that they don't show up in the logs. If you're logging on
52
+
There's also a setting that controls which data-fields will be sanitized, so that they don't show up in the logs. If you're logging on
53
53
a live environment, make sure to NOT log any sensitive information, such as credit-card numbers and CVV numbers!
54
54
55
55
You can control this "blacklist" via the `SilverStripe\Omnipay\Helper\Logging.loggingBlacklist` setting. By default the Helper class is configured like this:
0 commit comments