<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">On 15 Jan 2016 at 14:43:39, Michał Jastrzębski (<a href="mailto:inc007@gmail.com">inc007@gmail.com</a>) wrote:</div> <div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><div><div></div><div>Yeah that's true. We did all of openstack systems but we didn't<span class="Apple-converted-space"> </span><br>implement infra around yet. I'd guess most of services can log either<span class="Apple-converted-space"> </span><br>to stdout or file, and both sources should be accessible by heka.<span class="Apple-converted-space"> </span><br>Also, I'd be surprised if heka wouldn't have syslog driver? That<span class="Apple-converted-space"> </span><br>should be one of first:) Maybe worth writing one? I wanted an excuse<span class="Apple-converted-space"> </span><br>to write some golang;)<span class="Apple-converted-space"> </span></div></div></span></blockquote></div><p>Well writing in golang plugin would require to rebuild Heka.</p><p>The beauty is that you don’t have to do that.</p><p>Just a decoder plugin in Lua like it’s already the case for rsyslog…</p><p>Cheers,</p><p>Patrick</p><div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><div><div><br><br>Regards,<span class="Apple-converted-space"> </span><br>Michal<span class="Apple-converted-space"> </span><br><br>On 15 January 2016 at 06:42, Eric LEMOINE <elemoine@mirantis.com> wrote:<span class="Apple-converted-space"> </span><br>> On Fri, Jan 15, 2016 at 11:57 AM, Michal Rostecki<span class="Apple-converted-space"> </span><br>> <mrostecki@mirantis.com> wrote:<span class="Apple-converted-space"> </span><br>>> On 01/15/2016 11:14 AM, Simon Pasquier wrote:<span class="Apple-converted-space"> </span><br>>>><span class="Apple-converted-space"> </span><br>>>> My 2 cents on RabbitMQ logging...<span class="Apple-converted-space"> </span><br>>>><span class="Apple-converted-space"> </span><br>>>> On Fri, Jan 15, 2016 at 8:39 AM, Michal Rostecki <mrostecki@mirantis.com<span class="Apple-converted-space"> </span><br>>>> <mailto:mrostecki@mirantis.com>> wrote:<span class="Apple-converted-space"> </span><br>>>><span class="Apple-converted-space"> </span><br>>>> I'd suggest to check the similar options in RabbitMQ and other<span class="Apple-converted-space"> </span><br>>>> non-OpenStack components.<span class="Apple-converted-space"> </span><br>>>><span class="Apple-converted-space"> </span><br>>>><span class="Apple-converted-space"> </span><br>>>> AFAICT RabbitMQ can't log to Syslog anyway. But you have option to make<span class="Apple-converted-space"> </span><br>>>> RabbitMQ log to stdout [1].<span class="Apple-converted-space"> </span><br>>>> BR,<span class="Apple-converted-space"> </span><br>>>> Simon.<span class="Apple-converted-space"> </span><br>>>> [1] http://www.superpumpup.com/docker-rabbitmq-stdout<span class="Apple-converted-space"> </span><br>>>><span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>> That's OK for Heka/Mesos/k8s approach.<span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>> Just for the curiosity,<span class="Apple-converted-space"> </span><br>>> @inc0: so we don't receive any logs from RabbitMQ in the current rsyslog<span class="Apple-converted-space"> </span><br>>> approach?<span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>> /var/lib/docker/volumes/rsyslog/_data is where logs are stored, and<span class="Apple-converted-space"> </span><br>> you'll see that there is no file for RabbitMQ. This is related to<span class="Apple-converted-space"> </span><br>> RabbitMQ not logging to syslog. So our impression is that Kolla<span class="Apple-converted-space"> </span><br>> doesn't at all collect RabbitMQ logs today. I guess this should be<span class="Apple-converted-space"> </span><br>> fixed.<span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>> __________________________________________________________________________<span class="Apple-converted-space"> </span><br>> OpenStack Development Mailing List (not for usage questions)<span class="Apple-converted-space"> </span><br>> Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<span class="Apple-converted-space"> </span><br>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<span class="Apple-converted-space"> </span><br><br>__________________________________________________________________________<span class="Apple-converted-space"> </span><br>OpenStack Development Mailing List (not for usage questions)<span class="Apple-converted-space"> </span><br>Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<span class="Apple-converted-space"> </span><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<span class="Apple-converted-space"> </span><br></div></div></span></blockquote></div></body></html>