Skip to main content

Keep track of different events and write them down to an audit log.

Project description

Finger Pointing

Finger Pointing

Life, the Universe, and Everything

Keep track of different events and write them down to an audit log.

Mostly Harmless

http://img.shields.io/pypi/v/collective.fingerpointing.svg https://img.shields.io/travis/collective/collective.fingerpointing/master.svg https://img.shields.io/coveralls/collective/collective.fingerpointing/master.svg

Got an idea? Found a bug? Let us know by opening a support ticket.

Don’t Panic

Installation

To enable this package in a buildout-based installation:

  1. Edit your buildout.cfg and add add the following to it:

    [buildout]
    ...
    eggs =
        collective.fingerpointing

After updating the configuration you need to run ‘’bin/buildout’’, which will take care of updating your system.

Go to the ‘Site Setup’ page in a Plone site and click on the ‘Add-ons’ link.

Check the box next to collective.fingerpointing and click the ‘Activate’ button.

Usage

Go to ‘Site Setup’ and select ‘Finger Pointing’ and enable the events you want to keep an eye on.

https://raw.githubusercontent.com/collective/collective.fingerpointing/master/docs/controlpanel.png

The Finger Pointing control panel configlet.

Finger Pointing will start logging the selected events:

# bin/instance fg
2016-03-01 17:29:29 INFO ZServer HTTP server started at Tue Mar  1 17:29:29 2016
        Hostname: 0.0.0.0
        Port: 8080
2016-03-01 17:29:31 INFO collective.fingerpointing Start logging audit information to audit.log
2016-03-01 17:29:34 INFO Plone OpenID system packages not installed, OpenID support not available
2016-03-01 17:29:37 INFO Zope Ready to handle requests
2016-03-01 17:31:40 INFO collective.fingerpointing user=admin ip=127.0.0.1 action=logged out
2016-03-01 17:31:49 INFO collective.fingerpointing user=admin ip=127.0.0.1 action=logged in

These events are also logged in var/log/audit.log:

2016-03-01 17:31:40,813 - INFO - user=admin ip=127.0.0.1 action=logged out
2016-03-01 17:31:49,678 - INFO - user=admin ip=127.0.0.1 action=logged in

An audit log view is available in the user menu to users with the collective.fingerpointing: View Audit Log permission:

Finger Pointing

The Finger Pointing audit log view.

Share and Enjoy

This package would not have been possible without the contribution of the following people:

You can find an updated list of package contributors on GitHub.

Changelog

1.0b2 (2016-03-18)

  • Log to audit.log even if Zope’s event-log-level is above INFO (fixes #25). [fRiSi]

  • Add German translations. [fRiSi]

  • Fix output of the audit log view. [pcdummy, hvelarde]

  • Add Brazilian Portuguese and Spanish translations. [hvelarde]

  • The “View Audit log” action appears now before the “Log out” one (fixes #18). [pcdummy, hvelarde]

  • Use main_template for the audit log view. [pcdummy]

  • Avoid TypeError while running third party tests (fixes #2). [hvelarde]

1.0b1 (2016-03-09)

  • Add a view for the audit.log file @@fingerpointing-audit-log and link it to portal_actions. [pcdummy, hvelarde]

  • Make control panel configlet accesible to Site Administrator role (closes #15). [hvelarde]

  • Avoid ComponentLookupError when removing a Plone site (fixes #4). [hvelarde]

  • Remove unused plone.directives.form dependency which pulled in Grok packages. [vangheem]

  • Audit information is now logged into a file named audit.log instead of inside the standard event.log. [pcdummy]

  • Package is now compatible with Plone 5. [hvelarde]

  • Ignore errors caused by subscribers trying to access nonexistent registry records when package is still not installed (fixes #1). [hvelarde]

1.0a1 (2015-06-08)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.fingerpointing-1.0b2.tar.gz (69.8 kB view details)

Uploaded Source

File details

Details for the file collective.fingerpointing-1.0b2.tar.gz.

File metadata

File hashes

Hashes for collective.fingerpointing-1.0b2.tar.gz
Algorithm Hash digest
SHA256 bbdfbe883233d135c366bdf55ef4d23d91bc56ff7fdc0082cbffd46b32eb99b1
MD5 3460842510429f9559c65b44b4f91c0f
BLAKE2b-256 e272a16d07231baf199a93de74ad169035284cdd80bd1d4941f987e95a3e5920

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page