Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install collective.usernamelogger

How to install collective.usernamelogger

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.usernamelogger
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.2 Available View build log
1.1 Available View build log
Windows (64-bit)
1.2 Available View build log
1.1 Available View build log
Mac OS X (10.5+)
1.2 Available View build log
1.1 Available View build log
Linux (32-bit)
1.2 Available View build log
1.1 Available View build log
Linux (64-bit)
1.2 Available View build log
1.1 Available View build log
 
License
BSD
Lastest release
version 1.2 on Aug 17th, 2011

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 use 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.2 - 2011/08/16

  • Added support for Plone 4.x session cookies. [buchi]
  • Handle auth cookies that aren't hex encoded (used in PluggableAuthService < 1.5). [buchi]
  • Add z3c.autoinclude entry point for automatic ZCML loading in Plone 3.3+. [witsch]

1.1 - 2010/01/07

  • Unquote the cookie value before attempting to decode it. [vincentfretin]

1.0 - 2009/08/08

  • Re-release unchanged 1.0a2 as final. [witsch]

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]

Subscribe to package updates

Last updated Aug 17th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.