How to customize logger in Plone
Гирман Богдан <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <CAPR+16k0bOnmJTbPDwaZ5Oq8Vnjw9UWV-Kd4LxhL5Eq4VEr3iA@mail.gmail.com> |
Hi, We are using https://pypi.python.org/pypi/Products.LongRequestLogger. This product is really good if you want to find bottle neck or you system. We have this package in production to be able in time find the longest request on our portal and provide some solution for this. But we have an issue: it logs REQUEST data that actually is important to reproduce situation that happened. But when it logs data on login form we will have all users login and password written into server logs in plain text that is not SECURE. The Products.LongRequestLogger uses logger to store data, it is really good because we can add filters and replace passwords before it written to logs. I can add filter into our policy package but I feel that it is not good solution and I think that there is a way to add this filter directly to zope.conf or somehow enable filter into buildout config because I feel that it is server settings not something package related. Could you please recommend me the best practice how to add logs filter, I mean more Plonish way to do it? Best regards, Bogdan. ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Plone-developers mailing list Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/plone-developers