Skip to content

Commit

Permalink
chores: removed logger env
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmathew committed Jul 17, 2024
1 parent 5be8a76 commit cde9308
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
4 changes: 1 addition & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -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
DATASOURCE_DB=openid-federation-db
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand All @@ -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" }
Expand Down
1 change: 0 additions & 1 deletion modules/openid-federation-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -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)
}
Expand Down

0 comments on commit cde9308

Please sign in to comment.