<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>The main motivation for this over something like rsyslog is realtime integration with external systems. </div>
<div>If this information is available via notifications, someone can turn of the amqp notification driver, and have external monitoring, metering, usage, etc systems use that data. </div>
<div><br>
</div>
<div>(at the same time, if you just want to log, and don't need the queueing, etc from amqp, , you can just turn on the logging notification driver, which will output to syslog. (it would be nice to have the log notification driver support structured syslog
too, eventually) )</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Joe Gordon <<a href="mailto:jogo@cloudscaling.com">jogo@cloudscaling.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Monday, May 6, 2013 12:59 PM<br>
<span style="font-weight:bold">To: </span>OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [openstack-dev] Unified Notifications ...<br>
</div>
<div><br>
</div>
<div>
<div>
<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>
</div>
</div>
</div>
</span>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<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>
</div>
</div>
</span>
</body>
</html>