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: Logging.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,21 +6,18 @@ Logging framework has been introduced in the SDK which makes use of log4j2 and s
6
6
## Setup
7
7
In order to leverage the new logging framework, the following configuration settings may be added to the merchant configuration as part of LogConfiguration:
8
8
9
-
enableLog
10
-
logDirectory
11
-
logFilename
12
-
logMaximumSize
9
+
*enableLog
10
+
*logDirectory
11
+
*logFilename
12
+
*logMaximumSize
13
13
14
-
have to be replaced by the following values:
15
-
// Logging to be enabled or not.
16
-
props.setProperty("enableLog", "true");
17
-
// Log directory Path
18
-
props.setProperty("logDirectory", "logs");
19
-
props.setProperty("logFilename", "cybs");
20
-
// Log file size in KB
21
-
props.setProperty("logMaximumSize", "5M");
14
+
Have to be replaced by the following values:
15
+
* props.setProperty("enableLog", "true"); // Logging to be enabled or not.
* props.setProperty("logMaximumSize", "5M"); // Log file size in KB
22
19
23
-
where, enableLog, logDirectory, logFilename, logMaximumSize are variables to be provided
20
+
where**`enableLog, logDirectory, logFilename, logMaximumSize`** are variables to be provided
24
21
25
22
26
23
# Log4j Configuration
@@ -92,9 +89,12 @@ where, enableLog, logDirectory, logFilename, logMaximumSize are variables to be
92
89
93
90
### Important Notes
94
91
* To enable masking of sensitive data i.e. sensitive data in the request/response should be hidden/masked, then replace `%m` with `%maskedMessage` in the patterns below -->
0 commit comments