Skip to content

Commit 8e97e21

Browse files
authored
doc(configure excluded sources) WIP
1 parent 4230e41 commit 8e97e21

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

README.md

+15-10
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,14 @@ sources listing them in the `properties.logger.sources-ignored`.
123123

124124
By default the system properties (`systemProperties`) and the environment variables(`systemEnvironment`)
125125
are excluded. You can exclude more properties source by adding their names to the list.
126-
For example, to not not take into account property keys from the file application.properties, a file with a relative path
127-
`../secrets/secret.properties`, the command line arguments, the `properties` attribute of `@SpringBootTest` and others
128-
@*Test annotations, you should set these values :
126+
127+
> For example, to not not take into account property keys from :
128+
> 1. the file application.properties
129+
> 2. a file with a relative path ` ../secrets/secret.properties`
130+
> 3. the command line arguments
131+
> 4. the `properties` attribute of `@SpringBootTest` and others @*Test annotations,
132+
> you should set these values :
133+
129134
```properties
130135
properties.logger.sources-ignored= systemProperties, systemEnvironment,\
131136
[application.properties],\
@@ -134,16 +139,16 @@ commandLineArgs,\
134139
Inlined\ Test\ Properties
135140
```
136141

137-
# First set default exclusions : RECOMMENDED
138-
# Then add others exclusions :
139-
## for the the application.properties file :
140-
## for ../secrets/secret.properties file :
141-
## for command ligne arguments :
142-
## properties attributs for tests :
142+
> At first line, set default exclusions (RECOMMENDED) then add others exclusions :
143+
>
144+
> 2. at second line, for the the application.properties file,
145+
> 3. at third line for ../secrets/secret.properties file
146+
> 4. at fourth line for command ligne arguments
147+
> 5. at fifth line for then properties attributes for tests
143148
144149
### Prefix list for displayed properties
145150

146-
**Feature controller by `properties.logger.prefix-for-propertie`**
151+
**Feature controller by `properties.logger.prefix-for-properties`**
147152

148153
### Properties with hidden values
149154

0 commit comments

Comments
 (0)