[Openstack-operators] [Openstack][Kesytone] Logging output modification
alejandro.comisario at mercadolibre.com
Tue Feb 26 15:55:02 UTC 2013
Thanks ! will try this one !
Arias 3751, Piso 7 (C1430CRG)
Ciudad de Buenos Aires - Argentina
Cel: +549(11) 15-3770-1857
Tel : +54(11) 4640-8443
On Mon, Feb 25, 2013 at 4:35 PM, Andrew Glen-Young <
andrew.glen-young at canonical.com> wrote:
> On Mon 25-02-2013 14:47 ›, Alejandro Comisario wrote:
> > Hi guys, we are using keystone 2012.1.4 into production, and we are using
> > keystone logs to stream into kafka, and we wanted to modify the logs
> > content to add the tenant id into the line.
> > We saw in the code that keystone leaves that duty to the python logging
> > method.
> > We tried several methods to modify the log content, but we didnt nailed.
> > Does anyone knows how to doit in essex ?
> My guess is that if the default logging doesn't match your criteria that
> you could insert a custom middleware to do what you want.
> The 'access' middleware, which creates Apache-style logs, in the current
> keystone branch may give you an idea of how to achieve this.
> Andrew Glen-Young
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-operators