Skip to content
Snippets Groups Projects
Commit 2527848d authored by Lars Johansson's avatar Lars Johansson
Browse files

Allow for configuration of log level and set to DEBUG for integration tests

parent 008c00cb
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ Environment variables ...@@ -10,6 +10,7 @@ Environment variables
| NAMING_DATABASE_URL | jdbc:postgresql://postgres:5432/discs_names | JDBC URL for the database connection | | NAMING_DATABASE_URL | jdbc:postgresql://postgres:5432/discs_names | JDBC URL for the database connection |
| NAMING_DATABASE_USERNAME | discs_names | user name for the database connection | | NAMING_DATABASE_USERNAME | discs_names | user name for the database connection |
| NAMING_DATABASE_PASSWORD | discs_names | password for the database connection | | NAMING_DATABASE_PASSWORD | discs_names | password for the database connection |
| NAMING_LOGGING_LEVEL | INFO | log level for application |
| NAMING_MAIL_ADMINISTRATOR | | comma-separated list of administrator email addresses | | NAMING_MAIL_ADMINISTRATOR | | comma-separated list of administrator email addresses |
| NAMING_MAIL_NOTIFICATION | false | true/false if mail notications are to be sent | | NAMING_MAIL_NOTIFICATION | false | true/false if mail notications are to be sent |
| NAMING_SMTP_HOST | mail.esss.lu.se | DNS name of server that accepts connections for SMTP | | NAMING_SMTP_HOST | mail.esss.lu.se | DNS name of server that accepts connections for SMTP |
......
...@@ -13,6 +13,7 @@ services: ...@@ -13,6 +13,7 @@ services:
ports: ports:
- "8080:8080" - "8080:8080"
environment: environment:
NAMING_LOGGING_LEVEL: DEBUG
skipITCoverage: "true" skipITCoverage: "true"
depends_on: depends_on:
postgres: postgres:
......
...@@ -7,7 +7,7 @@ naming.backend.swagger.url=${NAMING_BACKEND_SWAGGER_URL:http://localhost:8080/sw ...@@ -7,7 +7,7 @@ naming.backend.swagger.url=${NAMING_BACKEND_SWAGGER_URL:http://localhost:8080/sw
# logging # logging
naming.logging.stacktrace.length=10 naming.logging.stacktrace.length=10
logging.level.org.openepics.names=INFO logging.level.org.openepics.names=${NAMING_LOGGING_LEVEL:INFO}
logging.level.org.springframework.web=INFO logging.level.org.springframework.web=INFO
spring.http.log-request-details=true spring.http.log-request-details=true
......
...@@ -7,7 +7,7 @@ naming.backend.swagger.url=${NAMING_BACKEND_SWAGGER_URL:http://localhost:8080/sw ...@@ -7,7 +7,7 @@ naming.backend.swagger.url=${NAMING_BACKEND_SWAGGER_URL:http://localhost:8080/sw
# logging # logging
naming.logging.stacktrace.length=10 naming.logging.stacktrace.length=10
logging.level.org.openepics.names=INFO logging.level.org.openepics.names=${NAMING_LOGGING_LEVEL:INFO}
logging.level.org.springframework.web=INFO logging.level.org.springframework.web=INFO
spring.http.log-request-details=true spring.http.log-request-details=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment