feat(#27): Set up consola logger, make use of log levels in backend and frontend
This commit is contained in:
@@ -70,7 +70,6 @@ class ApplicationFormService(
|
||||
id: UUID,
|
||||
applicationFormDto: ApplicationFormDto,
|
||||
): ApplicationForm {
|
||||
println("Updating ApplicationForm: $applicationFormDto")
|
||||
val existingApplicationForm = getApplicationFormById(id)
|
||||
val existingSnapshot = versionService.createSnapshot(existingApplicationForm)
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ class JwtUserSyncFilter(
|
||||
val logger = LoggerFactory.getLogger(JwtUserSyncFilter::class.java)
|
||||
val auth: Authentication? = SecurityContextHolder.getContext().authentication
|
||||
|
||||
println("JwtUserSyncFilter invoked for request: ${request.requestURI}")
|
||||
try {
|
||||
if (auth is JwtAuthenticationToken && auth.isAuthenticated) {
|
||||
val jwt: Jwt = auth.token
|
||||
|
||||
@@ -13,7 +13,7 @@ spring:
|
||||
database-platform: org.hibernate.dialect.PostgreSQLDialect
|
||||
hibernate:
|
||||
ddl-auto: create
|
||||
show-sql: true
|
||||
show-sql: false
|
||||
properties:
|
||||
hibernate:
|
||||
format_sql: true
|
||||
@@ -39,16 +39,6 @@ spring:
|
||||
issuer-uri: http://localhost:7080/realms/legalconsenthub
|
||||
jwk-set-uri: http://localhost:7080/realms/legalconsenthub/protocol/openid-connect/certs
|
||||
|
||||
logging:
|
||||
level:
|
||||
org:
|
||||
springframework:
|
||||
security: TRACE
|
||||
oauth2: TRACE
|
||||
web: TRACE
|
||||
org.testcontainers: INFO
|
||||
com.github.dockerjava: WARN
|
||||
|
||||
management:
|
||||
health:
|
||||
mail:
|
||||
|
||||
@@ -61,3 +61,14 @@ management:
|
||||
health:
|
||||
mail:
|
||||
enabled: false
|
||||
|
||||
# Log levels: TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF
|
||||
logging:
|
||||
level:
|
||||
com.betriebsratkanzlei.legalconsenthub: ${LOGGING_LEVEL_APP:INFO}
|
||||
org:
|
||||
springframework:
|
||||
security: ${LOGGING_LEVEL_ROOT:INFO}
|
||||
oauth2: ${LOGGING_LEVEL_ROOT:INFO}
|
||||
web: ${LOGGING_LEVEL_ROOT:INFO}
|
||||
testcontainers: ${LOGGING_LEVEL_ROOT:INFO}
|
||||
|
||||
Reference in New Issue
Block a user