diff --git a/src/main/kotlin/config/BremerConfig.kt b/src/main/kotlin/config/BremerConfig.kt index 1b187cf..a4d9baf 100644 --- a/src/main/kotlin/config/BremerConfig.kt +++ b/src/main/kotlin/config/BremerConfig.kt @@ -5,8 +5,6 @@ package net.piedpiper.bremer.config import net.piedpiper.bremer.service.LoginService -import org.apache.logging.log4j.LogManager -import org.apache.logging.log4j.Logger import org.springframework.beans.factory.annotation.Qualifier import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration @@ -16,7 +14,6 @@ import org.springframework.security.crypto.password.PasswordEncoder import org.springframework.security.web.SecurityFilterChain import org.springframework.web.filter.ForwardedHeaderFilter -import kotlin.reflect.KProperty @Configuration class AppConfig { @@ -62,11 +59,3 @@ return http.build() } } - -class Log { - companion object { - private val log = LogManager.getLogger(Log::class.java) - } - - operator fun getValue(thisRef: Any, property: KProperty<*>): Logger = log -}