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
private static class ClientPrivateKeyStrategy implements PrivateKeyStrategy {
292
+
@Override
293
+
public String chooseAlias(Map<String, PrivateKeyDetails> map, Socket socket) {
294
+
return "self-signed";
295
+
}
296
+
}
297
+
```
298
+
241
299
### Configuring Spring Cloud Gateway
242
300
243
301
To configure Spring Cloud Gateway for outbound SSL you will need
@@ -291,6 +349,7 @@ certificate will be added with the alias of `mycert`.
291
349
2. Certificates coming from Azure Key Vault take precedence over
292
350
side-loaded certificates.
293
351
352
+
294
353
### Testing the current version under development
295
354
296
355
If you want to test the current version under development you will have to
@@ -309,14 +368,17 @@ To build and install the starter use the following command line:
309
368
Azure SDKs for Java offers a consistent logging story to help aid in troubleshooting application errors and expedite their resolution. The logs produced will capture the flow of an application before reaching the terminal state to help locate the root issue. View the [logging][logging] wiki for guidance about enabling logging.
310
369
311
370
### Enable Spring logging
312
-
Spring allow all the supported logging systems to set logger levels set in the Spring Environment (for example, in application.properties) by using `logging.level.<logger-name>=<level>` where level is one of TRACE, DEBUG, INFO, WARN, ERROR, FATAL, or OFF. The root logger can be configured by using logging.level.root.
371
+
Spring allow all the supported logging systems to set logger levels set in the Spring Environment (for example, in application.yml) by using `logging.level.<logger-name>=<level>` where level is one of TRACE, DEBUG, INFO, WARN, ERROR, FATAL, or OFF. The root logger can be configured by using logging.level.root.
313
372
314
-
The following example shows potential logging settings in `application.properties`:
373
+
The following example shows potential logging settings in `application.yml`:
315
374
316
-
```properties
317
-
logging.level.root=WARN
318
-
logging.level.org.springframework.web=DEBUG
319
-
logging.level.org.hibernate=ERROR
375
+
```yaml
376
+
logging:
377
+
level:
378
+
root: WARN
379
+
org:
380
+
springframework.web: DEBUG
381
+
hibernate: ERROR
320
382
```
321
383
322
384
For more information about setting logging in spring, please refer to the [official doc](https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-logging).
0 commit comments