Skip to content

Commit 5d6437f

Browse files
committed
Update logging examples
1 parent fad9acb commit 5d6437f

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

docs/usage/Logging.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,23 +96,29 @@ Appender used to define output to the file
9696

9797
### Examples
9898

99-
1. To set the log file level output to info level or higher., you only need to change log file level to info:
99+
**Example 1**
100+
101+
To set the log file level output to info level or higher., you only need to change log file level to info:
100102

101103
- property.ROOT_LEVEL=Info
102104

103105
- property.CONSOLE_LEVEL=Info
104106

105107
- property.FILE_LEVEL=Info
106108

107-
2. Set the console output information to debug level or higher and set the , log file output information to info level or higher:
109+
**Example 2**
110+
111+
Set the console output information to debug level or higher and set the , log file output information to info level or higher:
108112

109113
- property.ROOT_LEVEL=Debug
110114

111115
- property.CONSOLE_LEVEL=Debug
112116

113117
- property.FILE_LEVEL=Info
114118

115-
3. Change the log file size to 20M
119+
**Example 3**
120+
121+
Change the log file size to 20M
116122

117123
- appender.file.policies.size.size=20M
118124

0 commit comments

Comments
 (0)