diff --git a/CONFIGURATION.md b/CONFIGURATION.md index 55342da1abeb24985b4a26355b81cb18be471761..147b4a055b9d68df38b77a681a3999d1969ea0fd 100644 --- a/CONFIGURATION.md +++ b/CONFIGURATION.md @@ -10,6 +10,7 @@ Environment variables | 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_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_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 | diff --git a/docker-compose-integrationtest.yml b/docker-compose-integrationtest.yml index dfc80170bc79c03d85657ca9cfdee4b348de553d..960db403a293ca56c976355952af97c91794ce11 100644 --- a/docker-compose-integrationtest.yml +++ b/docker-compose-integrationtest.yml @@ -13,6 +13,7 @@ services: ports: - "8080:8080" environment: + NAMING_LOGGING_LEVEL: DEBUG skipITCoverage: "true" depends_on: postgres: diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 7e8ed0c346bfca6186ce078cf2ceb92692128e79..d7935563dace42360d960c4b2a1274c191888506 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -7,7 +7,7 @@ naming.backend.swagger.url=${NAMING_BACKEND_SWAGGER_URL:http://localhost:8080/sw # logging 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 spring.http.log-request-details=true diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties index e2b0a0945983aa1ee37313b0bac935ed184adb7a..6cddcfd9191d9385ade47a48f6bc4c2a04ecac55 100644 --- a/src/test/resources/application.properties +++ b/src/test/resources/application.properties @@ -7,7 +7,7 @@ naming.backend.swagger.url=${NAMING_BACKEND_SWAGGER_URL:http://localhost:8080/sw # logging 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 spring.http.log-request-details=true