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.
| Name | Title | Value |
|---|---|---|
| attachment.contentType | Content Type | ${attachment.contentType} |
| attachment.name | Attachment Name | ${attachment.name} |
| attachment.size | Attachment Size | ${attachment.size} |
| context.type | Context Type | ${context.type} |
| log.level | Log Level | ${log.level} |
| log.message | Log Message | ${log.message} |
| log.timestamp | Timestamp | {{date.now|formatDate('yyyy-MM-dd HH:mm:ss.SSS')}} |
| object.date | Message Date |
|
| object.from | From |
|
| object.id | ID |
|
| object.subject | Subject |
|
| object.url | GMail URL |
|
| stored.downloadUrl | Download URL |
|
| stored.location | Stored Location |
|
| stored.url | Stored URL |
|