silva.security.logging

Introduction

This extensions log in details user actions in Silva. To do so, you need to add a Silva Security Logging Service in ZMI, in a site (either your Silva Root or a local site).

You can configure the logging output. By default it will be logged in the Zope logs, but you can log to an SQL database as well.

In order to do this, you need to configure a SQL connection in Zope to your database, and in Silva Security Logging Service to select SQL logging, and your database identifier. The connected database should have a table called log created like this:

create table log (
    username varchar(255),
    action varchar(255),
    time datetime,
    content varchar(512),
    content_intid bigint,
    info varchar(255))

Note

This table is not automatically created for you.

Note

You can name your table differently, and configure the name on the service.

The log storage is extensible, you can provide your own storage.

Code repository

You can find the code for this extension in Mercurial: https://hg.infrae.com/silva.security.logging/.

Available releases

Release version Release date Release files
silva.security.logging 1.2.2 Mar 1, 2012 4:48:45 PM silva.security.logging-1.2.2.tar.gz
silva.security.logging 1.2.1 Mar 1, 2012 12:17:42 PM silva.security.logging-1.2.1.tar.gz
silva.security.logging 1.2 Feb 23, 2012 3:00:56 PM silva.security.logging-1.2.tar.gz
silva.security.logging 1.1 Nov 14, 2011 12:31:40 PM silva.security.logging-1.1.tar.gz
silva.security.logging 1.0 Dec 20, 2010 12:30:03 PM silva.security.logging-1.0.tar.gz

License: New BSD