persist memcached logs in /var/log/containers/memcached/memcached.log
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Fri, 27 Oct 2017 07:22:01 +0000 (10:22 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 30 Oct 2017 12:55:49 +0000 (12:55 +0000)
commit5f79927c58d342cf29417cef4b6e9111854224af
tree585729fa2ebad9b285803396ff99cf8380e6c5b8
parent9dfec11795703b43991e06ef880b52cd0b3a5eb4
persist memcached logs in /var/log/containers/memcached/memcached.log

We used to bind-mount /var/log/memcached.log, but this resulted in the
file being createdin the memcached container as a directory, since this
file didn't exist.

This commit takes the approach of other containers and gets the logs to
a memcached directory in /var/log/containers.

Change-Id: I926b65fa557ad56b4faa2be34452b58f7b01247a
Closes-Bug: #1720183
(cherry picked from commit 5020f38301a9a0a70f34878196250e24fc639dec)
docker/services/memcached.yaml