Annotation Type Logging


@Documented @Retention(RUNTIME) @Target(TYPE) @Inherited public @interface Logging
Enables message Logging
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Size limit when messages are written to disk
    int
    The size limit at which messages are truncated in the log
    boolean
    Log binary payloads by default
    boolean
    Log multipart payloads by default
    boolean
    For XML content, turn on pretty printing in the logs
  • Element Details

    • limit

      int limit
      The size limit at which messages are truncated in the log
      Default:
      49152
    • inMemThresHold

      int inMemThresHold
      Size limit when messages are written to disk. -1 means do not write to disk.
      Default:
      -1
    • pretty

      boolean pretty
      For XML content, turn on pretty printing in the logs
      Default:
      false
    • logBinary

      boolean logBinary
      Log binary payloads by default
      Default:
      false
    • logMultipart

      boolean logMultipart
      Log multipart payloads by default
      Default:
      true