chore: use env variables for logging level #1
|
@ -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=*
|
||||
management.endpoints.web.exposure.include=*
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue