Skip to content

Commit

Permalink
Skru på logging på Hikari
Browse files Browse the repository at this point in the history
  • Loading branch information
oddgfa committed Aug 14, 2023
1 parent 8f36975 commit f4a6577
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ open class ApplikasjonDBConfigLocal(private val environment: Environment) {
@Bean(name = ["sykefravarsstatistikkDataSource"])
open fun sykefravarsstatistikkDataSource(): DataSource {
val config = HikariConfig()
config.poolName = "Sykefraværsstatistikk-connection-pool-local"
config.poolName = "sykefraværsstatistikk-connection-pool-local"
config.jdbcUrl = databaseUrl
config.username = username
config.password = password
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ statistikk.importering.aktivert: true
statistikk.eksportering.aktivert: true

applikasjon.datasource:
url: jdbc:h2:mem:db-local;MODE=PostgreSQL;DB_CLOSE_DELAY=-1
url: jdbc:h2:mem:db-local;MODE=PostgreSQL;DB_CLOSE_DELAY=-1;TRACE_LEVEL_SYSTEM_OUT=3
username: SA
password:
driver-class-name: org.h2.Driver
Expand Down

0 comments on commit f4a6577

Please sign in to comment.