Commit 6d13e8f5 authored by Noel Alonso's avatar Noel Alonso
Browse files

Cambia nivel de log y arregla problema con hikari

parent c39281af
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
# DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.name=redmic
spring.datasource.url=jdbc:postgresql://redmic.net:5432/redmic?currentSchema=app

logging.level.root=info
 No newline at end of file
+2 −0
Original line number Diff line number Diff line
# DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.name=redmic
spring.datasource.url=jdbc:postgresql://db:5432/redmic?currentSchema=app

logging.level.root=warn
 No newline at end of file
+3 −1
Original line number Diff line number Diff line
# DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.name=redmic
spring.datasource.url=jdbc:postgresql://db:5432/redmic?currentSchema=app

logging.level.root=warn
 No newline at end of file
+4 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
server.port=8081
server.servlet.context-path=/api
server.servlet.application-display-name=oauth
server.tomcat.accesslog.enabled=true

spring.application.name=oauth

@@ -14,6 +13,8 @@ info.microservice.outputEncoding=@project.reporting.outputEncoding@
management.endpoints.web.exposure.include=health, info, prometheus
management.endpoints.web.base-path=/oauth/actuator/

logging.level.root=${logging.level.root}

# DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.driver-class-name=org.postgresql.Driver
#spring.datasource.schema=app
@@ -25,6 +26,8 @@ spring.datasource.username=username
spring.datasource.password=password
spring.datasource.url=${spring.datasource.url}

spring.datasource.hikari.max-lifetime=600000

# JPA (JpaBaseConfiguration, HibernateJpaAutoConfiguration)
spring.data.jpa.repositories.enabled=true
spring.jpa.generate-ddl=true