Revision history [back]

How to implement custom middle-ware?

I am new to Swift. I have install Swift server and now try to implement a custom middle ware using following doc

But my middle-ware i.e. does not work. I upated proxy-server.conf file

pipeline = authtoken cache healthcheck keystoneauth updateBody proxy-logging proxy-server

[filter:updateBody] paste.filter_factory = swift.common.middleware.updateBody:updatefilter_factory

and put my middle-ware logic under /swift/common/middleware/

Please let me know if i am missing something and how can i debug this?

Thanks and Regards Kiran Singh