| title: | Customizing logger |
|---|---|
| description: | Learn how to tune custom Deis settings. |
The following settings are tunable for the :ref:`logger` component.
Requires: none
Required by: :ref:`controller <controller_settings>`
Considerations: must live on the same host as controller (see #985)
The following etcd keys are set by the database component, typically in its /bin/boot script.
| setting | description |
|---|---|
| /deis/logger/host | IP address of the host running logger |
| /deis/logger/port | port used by the logger service (default: 514) |
The logger component uses no keys from etcd.
You can use a custom Docker image for the logger component instead of the image supplied with Deis:
$ deisctl config logger set image=myaccount/myimage:latestThis will pull the image from the public Docker registry. You can also pull from a private registry:
$ deisctl config logger set image=registry.mydomain.org:5000/myaccount/myimage:latestBe sure that your custom image functions in the same way as the stock logger image shipped with Deis. Specifically, ensure that it sets and reads appropriate etcd keys.