Class FileLogger

    • Field Detail

      • fileWriteLock

        private final java.lang.Object fileWriteLock
    • Constructor Detail

      • FileLogger

        public FileLogger()
    • Method Detail

      • init

        public void init​(Session session,
                         java.util.Map<java.lang.String,​java.lang.String> parameters)
                  throws OpenAS2Exception
        Description copied from interface: Component
        Component lifecycle hook. After creating a Component object, this method should be called to set any parameters used by the component. Component implementations typically have required parameter checking and code to start timers and threads within this method.
        Specified by:
        init in interface Component
        Overrides:
        init in class BaseLogger
        Parameters:
        session - the component uses this object to access other components
        parameters - configuration values for the component
        Throws:
        OpenAS2Exception - If an error occurs while initializing the component
        See Also:
        Session
      • appendToFile

        protected void appendToFile​(java.lang.String text)
      • doLog

        protected void doLog​(java.lang.Throwable t,
                             boolean terminated)
        Specified by:
        doLog in class BaseLogger