---
schema_version: "1"
id: 58eeb75d8faa72ee1f1f24e6392f2f1d08e2398b1bd11799c8b722a1fd84cfcc
title: wkcc__CmdCtrLogEvent__e
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/workdotcom_dev/guides/wdc-cc-sforce-api-objects-cmdctrlogevent__e.md
canonical_url: https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wdc-cc-sforce-api-objects-cmdctrlogevent__e.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 844db253556fa085a534b1626f5eaf22d71a16a89efced2dc528dccf19e37dd1
products:
  - Work.com Developer Guide
  - Service Cloud Developer Content
---

# wkcc\_\_CmdCtrLogEvent\_\_e

Contains log messages (errors and exceptions) from Workplace Command Center and Wellness Check. On insert into this platform event, an Apex trigger (LogEventTrigger) adds a corresponding record into the wkcc\_\_CmdCtrLog\_\_c custom object with the same fields. This platform event is available in orgs that have Work.com installed.

## Supported Calls

`create()`, `describeSObjects()`

## Fields

| Field                     | Type     | Properties       | Description                                                                                                                                                                                                            |
| ------------------------- | -------- | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ReplayId                  | string   | Nillable         | Platform events system field. See [Platform Events Fields](https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_define_ui.htm).                                      |
| wkcc\_\_ClassName\_\_c    | string   | Create, Nillable | Apex class from which the error originated.                                                                                                                                                                            |
| wkcc\_\_Level\_\_c        | string   | Create, Nillable | Logging level for the operation that caused the error.Possible values are:<ul><li>`DEBUG`</li><li>`ERROR`</li><li>`INFO`</li><li>`WARN`</li></ul>                                                                      |
| wkcc\_\_Message\_\_c      | textarea | Create, Nillable | The error or exception. For example:`Update failed. First exception on row 0 with id 1315w0000TwPnAAk: first error: FIELD_CUSTOM_VALIDATION_EXCEPTION. Location error message 1 for updating the parent location: [].` |
| wkcc\_\_ObjectIDs\_\_c    | textarea | Create, Nillable | Comma-separated list of IDS for the standard and custom object affected by the operation that caused the error. For example: `1315w0000TwPnAAk, 1315w0000TwQQAA0, 1315w0000TwQRAA0, 1315w0000TwREAAO`.                 |
| wkcc\_\_ObjectName\_\_c   | string   | Create, Nillable | If the error was a result of a failed DML operation (insert, update, delete), then this field contains the object of the DML operation. For example: `Location`.                                                       |
| wkcc\_\_Package\_\_c      | string   | Create, Nillable | Reserved for future use.                                                                                                                                                                                               |
| wkcc\_\_ResponseJson\_\_c | textarea | Create, Nillable | Reserved for future use.                                                                                                                                                                                               |
| wkcc\_\_StackTrace\_\_c   | textarea | Create, Nillable | Reserved for future use.                                                                                                                                                                                               |
| wkcc\_\_User\_\_c         | string   | Create, Nillable | User who initiated the operation that caused the error.                                                                                                                                                                |

**See Also**

- [Understand Logging](https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wdc-cc-understand-logging.md)
