Class ShutdownLogManager

java.lang.Object
java.util.logging.LogManager
com.orientechnologies.common.log.ShutdownLogManager

public class ShutdownLogManager extends LogManager
Inhibits the logs reset request which is typically done on shutdown. This allows to use JDK logging from shutdown hooks. -Djava.util.logging.manager=com.orientechnologies.common.log.ShutdownLogManager must be passed to the JVM, to activate this log manager.
  • Constructor Details

    • ShutdownLogManager

      public ShutdownLogManager()
  • Method Details

    • reset

      public void reset()
      Overrides:
      reset in class LogManager
    • shutdown

      protected void shutdown()