Log user names when using cookie authentication in Zope/Plone.
Project description
Introduction
This package provides logging of user names in Zope’s access log files when using cookie-based authentication as provided by PluggableAuthService and plone.session.
Installation
The easiest way to user this package is when working with installations based on zc.buildout. Here you can simply add the package to your “eggs” and “zcml” options, run buildout and restart your Zope/Plone instance.
Alternatively you can use the following configuration file to extend your existing buildout:
[buildout] extends = buildout.cfg [instance] eggs += collective.usernamelogger zcml += collective.usernamelogger
After that you should see user names being logged in your access log file, typically at <site-root>/var/log/instance-Z2.log.
Changelog
1.0a2 - 2009/07/24
Split session cookie from the right as the token can also contain spaces. [witsch]
Handle session cookies first as they can contain a colon, thereby breaking the hexadecimal decode. [witsch]
1.0a1 - 2009/07/23
Initial release [witsch]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.usernamelogger-1.0a2.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc56843aacf09956fb0133d59eb2829893343ca68c673e9c7fc8d147f75f8c00 |
|
MD5 | a3167e0c20c0ce13cda4e03f3a833fdd |
|
BLAKE2b-256 | b28af459f8ea3ad5d001df83fe746fbe743eb3f221c5439111cde900a5a64997 |