[[logfile]]
== --logfile

[float]
Summary
~~~~~~~

Directs log output to the specified file.

[float]
Flags
~~~~~

* `--logfile` Target file for log output. Default: `STDOUT`

IMPORTANT: This flag must come before any <<commands,command>>.

[float]
Example
~~~~~~~

Set log output to `/tmp/curator.log`:

------------------
curator --logfile /tmp/curator.log <<command>> <<flags>>
------------------
