<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 2, 2013 at 12:16 PM, Sandy Walsh <span dir="ltr"><<a href="mailto:sandy.walsh@rackspace.com" target="_blank">sandy.walsh@rackspace.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey y'all!<br>
<br>
At the summit we had a session about unifying the various ways we record<br>
important events within OpenStack (Nova specifically).<br>
<br>
Currently we have the following approaches:<br>
1. The event notification system,<br>
2. The InstanceFault DB table,<br>
3. The ServerAction DB table<br>
4. Exception handling decorators,<br>
5. and, to a lesser extent, logging<br>
<br>
With five different ways of doing things not all important events are<br>
being reported to all channels.<br>
<br>
We did come up with a plan-of-attack. Specifically:<br>
<br>
1. Drop InstanceFault and roll it into ServerAction<br>
2. Change any logging messages greater than DEBUG (like INFO and ERROR)<br>
into Notifications.<br>
3. Default the Logging Notification Driver to ON, so we don't lose any<br>
existing functionality. Users can opt to enable the AMQP driver in order<br>
to expose these notifications to external systems.<br></blockquote><div><br></div><div style>What is the motivation for this over, a tool that collects log files, like rsyslog?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The etherpad is here: <a href="https://etherpad.openstack.org/unified-notifications" target="_blank">https://etherpad.openstack.org/unified-notifications</a><br>
<br>
Also, by using the notification mechanism we have a route into things<br>
like Structured Logging (via json) vs the unstructured strings we have<br>
today. There is also a routing notification driver which permits you to<br>
only send certain messages to other notification drivers.<br>
<br>
Debug messages would continue to be used as they are today.<br>
<br>
Before we start down this road I just wanted to get a taste of the<br>
sentiment out there.<br>
<br>
Thanks!<br>
-S<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div></div>