Skip to content

Commit

Permalink
enable diagnostics in webservice config template
Browse files Browse the repository at this point in the history
  • Loading branch information
svonworl authored Apr 24, 2024
1 parent aff6f6c commit 5c59a56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/web.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5c59a56

Please sign in to comment.