From 5c59a56af0cecaea4887bd805aba7277ab7e58b8 Mon Sep 17 00:00:00 2001 From: Steve Von Worley Date: Wed, 24 Apr 2024 15:06:57 -0700 Subject: [PATCH] enable diagnostics in webservice config template https://ucsc-cgl.atlassian.net/browse/SEAB-6148 --- templates/web.yml.template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/web.yml.template b/templates/web.yml.template index d3ea31e..8f4e49b 100644 --- a/templates/web.yml.template +++ b/templates/web.yml.template @@ -58,6 +58,10 @@ samconfiguration: metricsConfig: s3BucketName: {{ METRICS_BUCKET_NAME }} +diagnosticsConfig: + logRequests: true + logPeriodic: true + # the following values describe where the webservice is being run (and on what port and using what scheme) to configure swagger externalConfig: basePath: /api/ @@ -86,6 +90,7 @@ logging: appenders: - type: console logFormat: "%-5p [%d{ISO8601,UTC}] %c\t %replace(%replace(%msg){'[\\n{};]',''}){'([A-Za-z]) ([A-Za-z])','$1_$2'}%n%rEx" + "io.dockstore.webservice.helpers.DiagnosticsHelper": DEBUG #logging for other dropwizard things appenders: - type: console