Package fr.ifremer.isisfish.logging
Class SimulationLoggerUtil
java.lang.Object
fr.ifremer.isisfish.logging.SimulationLoggerUtil
FIXME poussin, a priori cette classe ne supporte pas plusieurs simulation
en meme temps, ce qui est le cas si on a plusieurs processeurs de dispo :(
Usefull class for dealing with hot configuration of log4J. this is temporary
we must find a way to abstract this layer.
#removeAppender(String, String)
to remove a appender of a simulation- Author:
- chemit
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static void
showSimulationLogConsole
(Component parent, String simulationName) Open a new log console for the given simulation
-
Field Details
-
PLAN_CONTEXT_ID
- See Also:
-
PLAN_LOG_FILE
- See Also:
-
-
Constructor Details
-
SimulationLoggerUtil
public SimulationLoggerUtil()
-
-
Method Details
-
showSimulationLogConsole
public static void showSimulationLogConsole(Component parent, String simulationName) throws IOException Open a new log console for the given simulation- Parameters:
simulationName
- name of the simulation to use- Throws:
IOException
-
setPlanLoggingContext
-
clearPlanLoggingContext
public static void clearPlanLoggingContext()
-