Skip to content

Commit cc5492d

Browse files
committed
added option for security logging
1 parent 7a27220 commit cc5492d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.docker/application.properties.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ spring.datasource.url=jdbc:postgresql://{{.Env.JDBC_DATABASE_URL}}:{{.Env.JDBC_D
66
spring.datasource.username={{.Env.JDBC_DATABASE_USERNAME}}
77
spring.datasource.password={{.Env.JDBC_DATABASE_PASSWORD}}
88
logging.level.io.github.patternatlas.api=info
9+
logging.level.org.springframework.security={{.Env.SECURITY_LOGLEVEL}}
910
spring.jpa.show-sql=false
1011
spring.jpa.generate-ddl=true
1112
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ ENV DB_INIT_PASSWORD postgres
3535
ENV JDBC_DATABASE_NAME postgres
3636
ENV JDBC_DATABASE_PORT 5060
3737
ENV HAL_EXPLORER true
38+
ENV SECURITY_LOGLEVEL warn
3839

3940
ENV JWK_URI "http://localhost:8080/realms/patternatlas/protocol/openid-connect/certs"
4041

0 commit comments

Comments
 (0)