Packages

package logging

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. logging
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package pretty

Type Members

  1. class BoundedQueue[A] extends Queue[A]
    Annotations
    @SuppressWarnings()
  2. class CantonFilterEvaluator extends EvaluatorFilter[ILoggingEvent]

    Filters out any events with log level strictly lower than "LOG_LEVEL_CANTON" and logger name starting with "com.daml" or "com.digitalasset".

    Filters out any events with log level strictly lower than "LOG_LEVEL_CANTON" and logger name starting with "com.daml" or "com.digitalasset". The property "LOG_LEVEL_CANTON" is first read from java system properties, then from the shell environment and then the default of INFO is taken. (This is consistent with the standard logback behavior.)

  3. class CantonJsonEncoder extends LogstashEncoder

    canton specific json log encoding

    canton specific json log encoding

    equivalent of: <encoder class="net.logstash.logback.encoder.LogstashEncoder"> <excludeMdcKeyName>err-context</excludeMdcKeyName> </encoder>

  4. case class ErrorLoggingContext(logger: TracedLogger, properties: Map[String, String], traceContext: TraceContext) extends ContextualizedErrorLogger with Product with Serializable
  5. 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.

    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()
  6. trait NamedLoggerFactory extends AnyRef

    NamedLoggerFactory augments a regular class-based slf4j logger with one annotated with a "name" where the name provides human readable context identifying a class instance, e.g.

    NamedLoggerFactory augments a regular class-based slf4j logger with one annotated with a "name" where the name provides human readable context identifying a class instance, e.g. which participant in a set of participants has logged a particular message.

    The name can be constructed in a nested, left-to-right append manner.

  7. trait NamedLogging extends AnyRef
  8. final class Rewrite extends AnyRef

    Rewrite object used for logback.xml

  9. class RewritingAppender extends AppenderBase[ILoggingEvent] with AppenderAttachable[ILoggingEvent]

    Rewriting log appender

    Rewriting log appender

    Allows to rewrite log levels of external appenders. A logback implementation of http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/rewrite/RewriteAppender.html

    If testing is set to true, we will include the rewrite rules that are marked as testing only.

    Usage: <appender name="REWRITE_LOG_LEVEL" class="com.digitalasset.canton.logging.RewritingAppender"> <testing>true</testing> <appender-ref ref="CANTON_TEST_LOG" /> <rewrite class="com.digitalasset.canton.logging.Rewrite"> <logger>io.grpc.netty.NettyServerStream</logger> <maxLevel>INFO</maxLevel> </rewrite> <rewrite class="com.digitalasset.canton.logging.Rewrite"> <logger>com.digitalasset.canton.participant.ParticipantNodeInit:test/ParticipantRestartTest/participant/participant1</logger> <contains>Unclean shutdown due to cancellation in</contains> <exceptionMessage>test exception</exceptionMessage> <maxLevel>INFO</maxLevel> <testing>true</testing> </rewrite> </appender>

  10. type TracedLogger = LoggerTakingImplicit[TraceContext]

    Alias the complex logger type we use which expects a implicit TraceContext to something more memorable

Value Members

  1. object ErrorLoggingContext extends Serializable
  2. object NamedLoggerFactory
  3. object NamedLogging
  4. object TracedLogger

Inherited from AnyRef

Inherited from Any

Ungrouped