diff --git a/.env b/.env index 22a460c6..34ab61a8 100644 --- a/.env +++ b/.env @@ -1,6 +1,4 @@ DATASOURCE_URL=jdbc:postgresql://localhost:5432/openid-federation-db DATASOURCE_USER=openid-federation-db-user DATASOURCE_PASSWORD=openid-federation-db-password -DATASOURCE_DB=openid-federation-db - -LOGGING=true \ No newline at end of file +DATASOURCE_DB=openid-federation-db \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 966c4d06..19b09680 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -17,7 +17,6 @@ kotlinxSerializationJson = "1.7.0-RC" springboot = "3.3.1" springDependencyManagement = "1.1.5" kermitLogging = "2.0.4" -dotenv-kotlin = "6.4.1" [libraries] kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" } @@ -32,7 +31,6 @@ androidx-constraintlayout = { group = "androidx.constraintlayout", name = "const androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activityCompose" } kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" } kermit-logging = { module = "co.touchlab:kermit", version.ref = "kermitLogging"} -dotenv-kotlin = { group = "io.github.cdimascio", name = "dotenv-kotlin", version.ref = "dotenv-kotlin"} kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect" } springboot-actuator = { group = "org.springframework.boot", name = "spring-boot-starter-actuator" } diff --git a/modules/openid-federation-common/build.gradle.kts b/modules/openid-federation-common/build.gradle.kts index 40985dc1..678dcc90 100644 --- a/modules/openid-federation-common/build.gradle.kts +++ b/modules/openid-federation-common/build.gradle.kts @@ -53,7 +53,6 @@ kotlin { implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.0") implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.7.0") implementation(libs.kermit.logging) - implementation(libs.dotenv.kotlin) } } val commonTest by getting { diff --git a/modules/openid-federation-common/src/commonMain/kotlin/com/sphereon/oid/fed/common/logging/Logger.kt b/modules/openid-federation-common/src/commonMain/kotlin/com/sphereon/oid/fed/common/logging/Logger.kt index f15815b9..a9669633 100644 --- a/modules/openid-federation-common/src/commonMain/kotlin/com/sphereon/oid/fed/common/logging/Logger.kt +++ b/modules/openid-federation-common/src/commonMain/kotlin/com/sphereon/oid/fed/common/logging/Logger.kt @@ -1,15 +1,9 @@ package com.sphereon.oid.fed.common.logging import co.touchlab.kermit.Logger -//import io.github.cdimascio.dotenv.dotenv object Logger { -// val dotenv = dotenv() -// val isLogging = dotenv["LOGGING"] - - - fun verbose(tag: String, message: String) { Logger.v(tag = tag, messageString = message) }