c

com.digitalasset.canton.logging

LastErrorsAppender

class LastErrorsAppender extends AppenderBase[ILoggingEvent] with AppenderAttachable[ILoggingEvent]

Logback appender that keeps a bounded queue of errors/warnings that have been logged and associated log entries with the same trace-id.

Annotations
@SuppressWarnings()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LastErrorsAppender
  2. AppenderAttachable
  3. AppenderBase
  4. Appender
  5. FilterAttachable
  6. LifeCycle
  7. ContextAwareBase
  8. ContextAware
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LastErrorsAppender()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAppender(newAppender: Appender[ILoggingEvent]): Unit
    Definition Classes
    LastErrorsAppender → AppenderAttachable
  5. def addError(arg0: String, arg1: Throwable): Unit
    Definition Classes
    ContextAwareBase → ContextAware
  6. def addError(arg0: String): Unit
    Definition Classes
    ContextAwareBase → ContextAware
  7. def addFilter(arg0: Filter[ILoggingEvent]): Unit
    Definition Classes
    AppenderBase → FilterAttachable
  8. def addInfo(arg0: String, arg1: Throwable): Unit
    Definition Classes
    ContextAwareBase → ContextAware
  9. def addInfo(arg0: String): Unit
    Definition Classes
    ContextAwareBase → ContextAware
  10. def addStatus(arg0: Status): Unit
    Definition Classes
    ContextAwareBase → ContextAware
  11. def addWarn(arg0: String, arg1: Throwable): Unit
    Definition Classes
    ContextAwareBase → ContextAware
  12. def addWarn(arg0: String): Unit
    Definition Classes
    ContextAwareBase → ContextAware
  13. def append(event: ILoggingEvent): Unit
    Definition Classes
    LastErrorsAppender → AppenderBase
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def clearAllFilters(): Unit
    Definition Classes
    AppenderBase → FilterAttachable
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  17. def detachAndStopAllAppenders(): Unit
    Definition Classes
    LastErrorsAppender → AppenderAttachable
  18. def detachAppender(name: String): Boolean
    Definition Classes
    LastErrorsAppender → AppenderAttachable
  19. def detachAppender(appender: Appender[ILoggingEvent]): Boolean
    Definition Classes
    LastErrorsAppender → AppenderAttachable
  20. def doAppend(arg0: ILoggingEvent): Unit
    Definition Classes
    AppenderBase → Appender
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. def getAppender(name: String): Appender[ILoggingEvent]
    Definition Classes
    LastErrorsAppender → AppenderAttachable
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  25. def getContext(): Context
    Definition Classes
    ContextAwareBase → ContextAware
  26. def getCopyOfAttachedFiltersList(): List[Filter[ILoggingEvent]]
    Definition Classes
    AppenderBase → FilterAttachable
  27. def getDeclaredOrigin(): AnyRef
    Attributes
    protected[spi]
    Definition Classes
    ContextAwareBase
  28. def getFilterChainDecision(arg0: ILoggingEvent): FilterReply
    Definition Classes
    AppenderBase → FilterAttachable
  29. def getName(): String
    Definition Classes
    AppenderBase → Appender
  30. def getStatusManager(): StatusManager
    Definition Classes
    ContextAwareBase
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  32. def isAttached(appender: Appender[ILoggingEvent]): Boolean
    Definition Classes
    LastErrorsAppender → AppenderAttachable
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def isStarted(): Boolean
    Definition Classes
    AppenderBase → LifeCycle
  35. def iteratorForAppenders(): Iterator[Appender[ILoggingEvent]]
    Definition Classes
    LastErrorsAppender → AppenderAttachable
  36. def lastErrorTrace(traceId: String): Option[Seq[ILoggingEvent]]

    Returns a trace (sequence of events with the same trace-id) for an error

  37. def lastErrors: Map[String, ILoggingEvent]

    Return a map of traceId to error/warning event

  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  41. def setContext(arg0: Context): Unit
    Definition Classes
    ContextAwareBase → ContextAware
  42. def setLastErrorsFileAppenderName(name: String): Unit
  43. def setMaxErrors(errors: Int): Unit

    Allows to override the maximum numbers of errors to keep from a logback.xml

  44. def setMaxEvents(events: Int): Unit

    Allows to override the maximum events to keep per trace-id from a logback.xml

  45. def setMaxTraces(traces: Int): Unit

    Allows to override the maximum traces to keep from a logback.xml

  46. def setName(arg0: String): Unit
    Definition Classes
    AppenderBase → Appender
  47. def start(): Unit
    Definition Classes
    AppenderBase → LifeCycle
  48. def stop(): Unit
    Definition Classes
    LastErrorsAppender → AppenderBase → LifeCycle
  49. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  50. def toString(): String
    Definition Classes
    AppenderBase → AnyRef → Any
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AppenderBase[ILoggingEvent]

Inherited from Appender[ILoggingEvent]

Inherited from LifeCycle

Inherited from ContextAwareBase

Inherited from ContextAware

Inherited from AnyRef

Inherited from Any

Ungrouped