diff --git a/core/src/main/java/org/eqasim/core/simulation/mode_choice/epsilon/EpsilonModule.java b/core/src/main/java/org/eqasim/core/simulation/mode_choice/epsilon/EpsilonModule.java index d80135491..0389748c1 100644 --- a/core/src/main/java/org/eqasim/core/simulation/mode_choice/epsilon/EpsilonModule.java +++ b/core/src/main/java/org/eqasim/core/simulation/mode_choice/epsilon/EpsilonModule.java @@ -3,7 +3,8 @@ import com.google.inject.Inject; import com.google.inject.Provider; import com.google.inject.Provides; -import org.apache.log4j.Logger; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; import org.eqasim.core.components.config.EqasimConfigGroup; import org.eqasim.core.simulation.mode_choice.AbstractEqasimExtension; import org.eqasim.core.simulation.mode_choice.utilities.UtilityEstimator; @@ -15,7 +16,7 @@ public class EpsilonModule extends AbstractEqasimExtension { - public static final Logger logger = Logger.getLogger(EpsilonModule.class); + public static final Logger logger = LogManager.getLogger(EpsilonModule.class); public static final String EPSILON_UTILITY_PREFIX = "epsilon_"; @Provides diff --git a/core/src/main/java/org/eqasim/core/simulation/modes/drt/utils/CreateDrtVehicles.java b/core/src/main/java/org/eqasim/core/simulation/modes/drt/utils/CreateDrtVehicles.java index feda7e3a4..24e7a88ca 100644 --- a/core/src/main/java/org/eqasim/core/simulation/modes/drt/utils/CreateDrtVehicles.java +++ b/core/src/main/java/org/eqasim/core/simulation/modes/drt/utils/CreateDrtVehicles.java @@ -1,6 +1,7 @@ package org.eqasim.core.simulation.modes.drt.utils; -import org.apache.log4j.Logger; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; import org.matsim.api.core.v01.Id; import org.matsim.api.core.v01.network.Link; import org.matsim.api.core.v01.network.Network; @@ -15,7 +16,7 @@ import java.util.Random; public class CreateDrtVehicles { - private final static Logger logger = Logger.getLogger(CreateDrtVehicles.class); + private final static Logger logger = LogManager.getLogger(CreateDrtVehicles.class); public final static long DEFAULT_RANDOM_SEED = 1234;