Keep track of different events and write them down to an audit log.
Project description
Finger Pointing
Life, the Universe, and Everything
Keep track of different events and write them down to an audit log.
Mostly Harmless
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:
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.
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 - collective.fingerpointing - INFO - user=admin ip=127.0.0.1 action=logged out 2016-03-01 17:31:49,678 - collective.fingerpointing - INFO - user=admin ip=127.0.0.1 action=logged in
The audit log is available through the @@fingerpointing-log view, available in portal_actions for users with the collective.fingerpointing: Show the Log permission.
Changelog
1.0b1 (2016-03-09)
Add a view for the audit.log file @@fingerpointing-log and link it to portal_actions. [pcdummy, hvelarde]
Make control panel configlet accesible to Site Administrator role (closes #18). [hvelarde]
Avoid ComponentLookupError when removing a Plone site (fixes #2). [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
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.fingerpointing-1.0b1.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5779ec0887d4da0b0d8b28f32be2a7f37e5ffffe0c64b98c96a12ba11e97e4a4 |
|
MD5 | e4112944d3928bde79068d0b9d2cc8eb |
|
BLAKE2b-256 | c1dd88ba2f483801222ab0d855f5338bbb7e950fd3282c84ad3eb229d64224e5 |