googleapis / googleapis/google-cloud-java
[java-logging-logback] Pattern Layout support
Offen
api: logging
priority: p3
type: feature request
- Vorherrschende Sprache
- Java
- Sterne
- 2.1k
- Forks
- 1.2k
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 154
Beschreibung
I am not sure if the current _`com.google.cloud.logging.logback.LoggingAppender`_ support a Pattern Layout, incase if there's a requirment to mask logs. Have given a sample logback config that does the masking.
```
\"SSN\"\s*:\s*\"(.*?)\"
%-5p [%d{ISO8601,UTC}] [%thread] %c: %m%n%rootException
```
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.