---
title: "Logger"
description: "Optimize your event logging with a handler that writes events to your tenant log file, ideal for debugging and workflow design. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/engine/workflow/workflow-handlers/logger"
---

# Logger

Type: `logger`

This handler simply writes to your tenant log file. It jots down the fact that a given event fired. This can be useful while debugging or while designing your workflow models.

Here is an example that registers the handler for the `START` event of a workflow:

```
{
    "handlers": {
        "START": [{
            "type": "logger",
            "config": {}
        }]
    }
}
```

## See Also

- The [Logger](/documentation/gitana/4.0/engine/behaviors/actions/logger.md) action
