Skip to main content

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))

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

Code repository

You can find the code for this extension in Git: https://github.com/silvacms/silva.security.logging

Changes

1.2.2 (2012/03/12)

  • Remove debug warning.

1.2.1 (2012/03/01)

  • Make sure that entries contains only strings, in order to create valid SQL queries.

1.2 (2012/02/23)

  • Make sure the code works on both Silva 2.3 and 3.0.

  • Disable logging during upgrade operations (for speed).

  • Prevent breakage when storage is misconfigured.

  • Add possibility to configure table name with SQL storage.

1.1 (2011/11/14)

  • Update code for Silva 3.0.

  • Add more events to by logged (there are more in 3.0).

1.0 (2010/12/20)

  • Initial release.

Release files for silva.security.logging 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for silva.security.logging 1.2.2
File Size Uploaded
silva.security.logging-1.2.2.tar.gz 10.8 kB Details

Release files / silva.security.logging-1.2.2.tar.gz

Download URL silva.security.logging-1.2.2.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c0a081c4ac62a4a557937edc5e1dd2f585821066309c974cbeb493988b8704ab
BLAKE2b-256 checksum
How to use checksums
0756a2ed57b63306cb328a509256f0034bc67cfd2c2f9a9dbc095d3a3c517c07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page