# Docker logging Support in UI

**URL:** <https://forums.suse.com/t/docker-logging-support-in-ui/6467>\
**Category:** Rancher 1.x\
**Created:** [May 25, 2017, 5:00pm UTC](https://forums.suse.com/t/docker-logging-support-in-ui/6467 "2017-05-25T17:00:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Listener\_me](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/listener_me/32/5836_2.png) [@Listener\_me](https://forums.suse.com/u/Listener_me)\
**Post date:** [May 25, 2017, 5:00pm UTC](https://forums.suse.com/t/docker-logging-support-in-ui/6467/1 "2017-05-25T17:00:24Z")

</div>

Hello,

docker-compose supports following logging configuration.

```auto
 logging:
   driver: syslog
   options:
     syslog-address: "tcp://192.168.0.42:123"

```

But I am getting following error while deploying through UI

_Error (Unsupported config option for logging service: ‘options’ Unsupported config option for driver service: ‘logging’ Unsupported config option for service: ‘driver’)_

Is there any alternative parameter for this or any other options to create a tag for each container logs(send to a syslog server) created through the catalogs ?

Thanks

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [May 25, 2017, 7:40pm UTC](https://forums.suse.com/t/docker-logging-support-in-ui/6467/3 "2017-05-25T19:40:59Z")

</div>

The error sounds like you have the logging key at the wrong level so it thinks `logging` is a service instead of a property of a service.

---

<div class="post-metadata">

**Author:** ![Listener\_me](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/listener_me/32/5836_2.png) [@Listener\_me](https://forums.suse.com/u/Listener_me)\
**Post date:** [May 29, 2017, 10:07am UTC](https://forums.suse.com/t/docker-logging-support-in-ui/6467/4 "2017-05-29T10:07:05Z")

</div>

Hello Vincent,

I have corrected the levels using below syntax, and its saying “logging” option itself invalid

> logging:  
> - driver: “syslog”  
> - options:  
> syslog-address: "tcp://192.168.0.42:123 "

**Error (Unsupported config option for apache service: ‘logging’)**

What could be the issue?

Anything related to docker-compose.yml format? Rancher uses version: ‘2’ by default

Thanks

---

<div class="post-metadata">

**Author:** ![Listener\_me](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/listener_me/32/5836_2.png) [@Listener\_me](https://forums.suse.com/u/Listener_me)\
**Post date:** [May 29, 2017, 3:06pm UTC](https://forums.suse.com/t/docker-logging-support-in-ui/6467/5 "2017-05-29T15:06:33Z")

</div>

Thanks Vincent, I am able to create it now. I have to include “Services” line explicitly in the top to fix the issue
