Class ApacheDSLog4JUtils


  • public final class ApacheDSLog4JUtils
    extends java.lang.Object
    Provides a helper method for which loads the hybris log4j properties and set's the hybris hierarchy for being able to log correctly from within cronjobs
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void shutdown()
      Shutdown the hybris Log4J system.
      static void startup()
      Initializes the log4j system.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • startup

        public static void startup()
        Initializes the log4j system. You can safely call this method whenever you want to use log4j before the hybris subsystem is started. This method returns immediatly if it was already called before.
      • shutdown

        public static void shutdown()
        Shutdown the hybris Log4J system. Basically this is a "no operation" method.