I'm going to talk about setup RSync for python (api_hour) application. But it is also related to any languages, actually I will build my article on docker for php. So you can use it for any service with logging.
As you maybe know docker team decide (??? needed link ???) that it is not good to have more than 1 service inside of docker so if you decide to use well known syslog inside of you app you should launch it separately. Because usually none of docker images comes with syslog inside.
I was playing with brand new engine for async python - api_hour and realize that it requires syslog.
So in my case I have such launch script (shorten for example case):
you also should change
After that you can check log output by