Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEAB-6148: Enable diagnostics in webservice config template #254

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading