i've recently set up :

- logstash-forwarder on each slave collecting from /var/log/syslog and
forwarding to
- logstash instances running in docker containers on mesos, behind an
HAProxy
  configured from the marathon API

for docker containerized apps, which is most of mine, i'm mounting the
host's /dev/log into each container, and sending logging there

it's working great so far, and was pretty easy to set up

:c


On Mon, Sep 8, 2014 at 12:05 PM, Ankur Chauhan <[email protected]> wrote:

> Hi all,
>
> I was wondering what people use for application logging? I currently can
> thing of a couple of options but just wanted to know if others could also
> share experiences with different logging strategies.
>
> Option 1: Use a shared volume on the hosts and all the application log to
> regular files in it. Something like
> /mnt/logs/<app_name>/taskId_<logname>.log
>
> Option 2: send the logs to syslog/rsyslog and use a centralized logging
> server of sorts
>
> Are there any other options?
>
> -- Ankur Chauhan
>

Reply via email to