# Log

> Write a line to the run log, as information, a warning or an error.

Source: https://docs.buildcord.dev/nodes/integrations/log/

`integration.log` writes a line to the run log, which helps you see what a flow did.

## Settings

| Setting | What it does |
| --- | --- |
| Message | The line to write. Accepts tokens. |
| As | Information, a warning or an error. |

## Ways out

`out`. Turn on **If it fails** for a red way out.

## Notes

- Read logs on the bot's **Logs** page. They're kept for 7 days on the Free plan, 14 on Lite and 90 on Boost.
- Don't log secrets or personal data.
- **Send an error log message** is no longer in the picker: this node with **As** set to an error does the same.

## Related

- [Try](https://docs.buildcord.dev/nodes/flow-control/try), to log what went wrong with `{error.message}`
