Class ExecutionLog

  • All Implemented Interfaces:
    CleanUpHandler, Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, ShallowCopySupporter<FlowExecutionListener>, SizeOfHandler, FlowExecutionListener, Serializable, Comparable

    public class ExecutionLog
    extends AbstractFlowExecutionListener
    Generates a trace file with all activity logged, uses stdout when the log file is pointing to a directory.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
        min-user-mode: Expert
     
    -stage <PreInput|PostInput|PreExecute|PostExecute|PreOutput|PostOutput> [-stage ...] (property: stages)
        The execution stages to log.
        default: PRE_EXECUTE
     
    -log-file <adams.core.io.PlaceholderFile> (property: logFile)
        The log file to write to; uses stdout if pointing to a directory.
        default: ${CWD}
     
    -output-tokens <boolean> (property: outputTokens)
        If enabled, a string representation of input tokens are output as well.
        default: false
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_OutputTokens

        protected boolean m_OutputTokens
        whether to output any tokens as well.
      • m_DateFormat

        protected transient DateFormat m_DateFormat
        the date formatter to use.
      • m_StagesSet

        protected transient Set<ExecutionStage> m_StagesSet
        the actual stages.
    • Constructor Detail

      • ExecutionLog

        public ExecutionLog()