Skip to main content

Logging

Default Log Fields

Unlise otherwise configured using logFields in the settings configuration the following fields are used for logging to a log sheet:

  • log.timestamp
  • log.level
  • log.location
  • log.message
  • object.id
  • object.date
  • object.subject
  • object.from
  • object.url
  • attachment.name
  • attachment.size
  • attachment.contentType
  • stored.location
  • stored.url
  • stored.downloadUrl

Default Log Config

This table shows the log fields that are available by default. Additional custom fields can be added using logConfig in the settings configuration.

NameTitleValue
attachment.contentTypeContent Type${attachment.contentType}
attachment.nameAttachment Name${attachment.name}
attachment.sizeAttachment Size${attachment.size}
context.typeContext Type${context.type}
log.levelLog Level${log.level}
log.messageLog Message${log.message}
log.timestampTimestamp${date.now:date::yyyy-MM-dd HH:mm:ss.SSS}
object.dateMessage Date
  • attachment: ${message.date}
  • message: ${message.date}
  • thread: ${thread.lastMessageDate}
object.fromFrom
  • attachment: ${message.from}
  • message: ${message.from}
object.idID
  • attachment: ${attachment.hash}
  • message: ${message.id}
  • thread: ${thread.id}
object.subjectSubject
  • attachment: ${message.subject}
  • message: ${message.subject}
  • thread: ${thread.firstMessageSubject}
object.urlGMail URL
  • attachment: ${message.url}
  • message: ${message.url}
  • thread: ${thread.url}
stored.downloadUrlDownload URL
  • attachment: ${attachment.stored.downloadUrl}
stored.locationStored Location
  • attachment: ${attachment.stored.location}
stored.urlStored URL
  • attachment: ${attachment.stored.url}