googleapis / googleapis/google-cloud-java

[java-logging-logback] Pattern Layout support

Offen
#12,016 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
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

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.