diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index 4f5e123..a54fd1b 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -11,9 +11,9 @@ spring.datasource.username=sa spring.datasource.password=password spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -logging.level.org.hibernate.SQL=DEBUG -logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE -logging.level.org.springframework.jdbc.core.JdbcTemplate=DEBUG -logging.level.org.springframework.jdbc.core.StatementCreatorUtils=TRACE +logging.level.org.hibernate.SQL=${BOUSSOLE_PLUSS_SQL_LOG_LEVEL} +logging.level.org.hibernate.type.descriptor.sql.BasicBinder=${BOUSSOLE_PLUSS_SQL_BINDER_LOG_LEVEL} +logging.level.org.springframework.jdbc.core.JdbcTemplate=${BOUSSOLE_PLUSS_SPRING_TEMPLATE_LOG_LEVEL} +logging.level.org.springframework.jdbc.core.StatementCreatorUtils=${BOUSSOLE_PLUSS_SPRING_STATEMENT_LOG_LEVEL} -management.endpoints.web.exposure.include=* \ No newline at end of file +management.endpoints.web.exposure.include=* diff --git a/docker-compose.yml b/docker-compose.yml index 8c660ce..9fc5e94 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,11 @@ services: - "8190:80" backend: + environment: + - BOUSSOLE_PLUSS_SQL_LOG_LEVEL=DEBUG + - BOUSSOLE_PLUSS_SQL_BINDER_LOG_LEVEL=TRACE + - BOUSSOLE_PLUSS_SPRING_TEMPLATE_LOG_LEVEL=DEBUG + - BOUSSOLE_PLUSS_SPRING_STATEMENT_LOG_LEVEL=TRACE build: backend/ ports: - "8191:8080"