diff --git a/provider/notification-gcp/src/main/resources/application-dev.properties b/provider/notification-gcp/src/main/resources/application-dev.properties index 345de0681e35d77162524e95cbab01a875c79e70..00e1abb14672781aa4bab9acc30cf4af824a96ad 100644 --- a/provider/notification-gcp/src/main/resources/application-dev.properties +++ b/provider/notification-gcp/src/main/resources/application-dev.properties @@ -14,7 +14,6 @@ # limitations under the License. # -logging.level.org.springframework.web=DEBUG spring.profiles.active=dev app.entitlements=https://entitlements-dot-opendes.appspot.com/entitlements/v1 app.register=https://os-register-dot-opendes.appspot.com/api/register/v1 diff --git a/provider/notification-gcp/src/main/resources/application-local.properties b/provider/notification-gcp/src/main/resources/application-local.properties index f75b15e604adde2f3718525a779a3ffc8685c1a4..58c982df57bb0618b75edadbfcf7d2a6c8878d2b 100644 --- a/provider/notification-gcp/src/main/resources/application-local.properties +++ b/provider/notification-gcp/src/main/resources/application-local.properties @@ -14,7 +14,6 @@ # limitations under the License. # -logging.level.org.springframework.web=DEBUG spring.profiles.active=local app.entitlements=https://entitlements-dot-opendes.appspot.com/entitlements/v1 app.register=https://os-register-dot-opendes.appspot.com/api/register/v1 diff --git a/provider/notification-gcp/src/main/resources/application.properties b/provider/notification-gcp/src/main/resources/application.properties index 21f2a3326a018eb4ae4e60b118740b04385ae228..fa6abe7faedd3e9971e6f725712c99e80a1788c8 100644 --- a/provider/notification-gcp/src/main/resources/application.properties +++ b/provider/notification-gcp/src/main/resources/application.properties @@ -15,6 +15,7 @@ # LOG_PREFIX=notification +logging.level.org.springframework.web=${LOG_LEVEL:DEBUG} server.servlet.contextPath=/ app.expireTime=300 app.maxCacheSize=10 diff --git a/provider/notification-gcp/src/main/resources/logback.xml b/provider/notification-gcp/src/main/resources/logback.xml index e6bb61f96ec8c70237a16b73f2b6d2ede74a19fd..8d6d9b1400206861a237843f40787180ea67fdc7 100644 --- a/provider/notification-gcp/src/main/resources/logback.xml +++ b/provider/notification-gcp/src/main/resources/logback.xml @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/defaults.xml"/> + <property resource="application.properties" /> + <logger name="org.opengroup.osdu" level="${LOG_LEVEL}"/> <springProfile name="local"> <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <encoder> @@ -8,7 +10,7 @@ <charset>utf8</charset> </encoder> </appender> - <root level="DEBUG"> + <root level="info"> <appender-ref ref="CONSOLE"/> </root> </springProfile> @@ -28,7 +30,7 @@ </encoder> </appender> - <root level="debug"> + <root level="info"> <appender-ref ref="stdout"/> </root> </springProfile>