<div dir="ltr"><div class="gmail_default" style="font-family:'courier new',monospace;font-size:small;color:rgb(0,0,0)">Thanks ! will try this one !</div></div><div class="gmail_extra"><br clear="all"><div><div><font><b><br>
</b></font></div><div><font><b><img src="http://s14.postimage.org/sg1lztqep/cloudbuilders_Logo_last_small.png" width="96" height="58"><br></b></font></div><font><b>Alejandro Comisario <br>
#melicloud CloudBuilders</b></font><br>
<font color="#666666"><span style="font-size:6pt;color:gray" lang="ES">Arias 3751, Piso 7 (C1430CRG) <br>
Ciudad de Buenos Aires -
Argentina<br>
Cel: +549(11) 15-3770-1857<br>
Tel : +54(11) 4640-8443</span></font></div>
<br><br><div class="gmail_quote">On Mon, Feb 25, 2013 at 4:35 PM, Andrew Glen-Young <span dir="ltr"><<a href="mailto:andrew.glen-young@canonical.com" target="_blank">andrew.glen-young@canonical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<div><div class="h5"><br>
On Mon 25-02-2013 14:47 ›, Alejandro Comisario wrote:<br>
> Hi guys, we are using keystone 2012.1.4 into production, and we are using<br>
> keystone logs to stream into kafka, and we wanted to modify the logs<br>
> content to add the tenant id into the line.<br>
><br>
> We saw in the code that keystone leaves that duty to the python logging<br>
> method.<br>
> We tried several methods to modify the log content, but we didnt nailed.<br>
><br>
> Does anyone knows how to doit in essex ?<br>
><br>
<br>
</div></div>My guess is that if the default logging doesn't match your criteria that<br>
you could insert a custom middleware to do what you want.<br>
<br>
The 'access' middleware, which creates Apache-style logs, in the current<br>
keystone branch may give you an idea of how to achieve this.<br>
<br>
HTH<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Regards.<br>
Andrew Glen-Young<br>
<br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</font></span></blockquote></div><br></div>