> For the complete documentation index, see [llms.txt](https://cherrycake.tin.cat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cherrycake.tin.cat/version-0.x/reference/core-modules/log.md).

# Log

> See the [Log guide](/version-0.x/guide/log-guide.md) to learn how to work with the Log module.

## Configuration

* **`databaseProviderName`** The name of the database provider where the `log` table is found. Default: `main`.
* **`cacheProviderName`** The name of the cache provider that will be used to temporally store events as they happen, to be later added to the database by the `JanitorTaskLog`. Default: `engine`.
* **`cacheKeyUniqueId`** The unique cache key to use when storing events into cache. Default: `QueuedLogEvents`
* **`isQueueInCache`** Whether to store events in a buffer using cache for improved performance instead of storing them in the database straightaway.
