diff --git a/src/main/java/com/google/cloud/logging/logback/TraceLoggingEventEnhancer.java b/src/main/java/com/google/cloud/logging/logback/TraceLoggingEventEnhancer.java index aad688f9c..5fcd02a44 100644 --- a/src/main/java/com/google/cloud/logging/logback/TraceLoggingEventEnhancer.java +++ b/src/main/java/com/google/cloud/logging/logback/TraceLoggingEventEnhancer.java @@ -39,6 +39,7 @@ public static void setCurrentTraceId(String id) { public static void clearTraceId() { MDC.remove(TRACE_ID); } + /** * Get the Trace ID associated with any logging done by the current thread. * diff --git a/synth.py b/synth.py index 322c9d59d..7af89807b 100644 --- a/synth.py +++ b/synth.py @@ -18,4 +18,9 @@ AUTOSYNTH_MULTIPLE_COMMITS = True -java.common_templates() +java.common_templates(excludes=[ + '.gitignore', + '.github/CODEOWNERS', + '.github/blunderbuss.yml', + 'CONTRIBUTING.md', +]) \ No newline at end of file