Installation
[instance]
...
eggs =
...
edw.logger
zcml =
...
edw.logger
Introduction
This package creates a new edw.logger log facility that logs to INFO and ERROR the following events:
Viewed pages - Enabled by default. Can be disabled via environment variable EDW_LOGGER_PUBLISHER (e.g.: EDW_LOGGER_PUBLISHER=false;
Raised errors - Enabled by default. Can be disabled via environment variable EDW_LOGGER_ERRORS (e.g.: EDW_LOGGER_ERRORS=false);
Added/created/copied/moved/deleted content - Enabled by default. Can be disabled via environment variable EDW_LOGGER_CONTENT (e.g.: EDW_LOGGER_CONTENT=false);
ZODB commits - Enabled by default. Can be disabled via environment variable EDW_LOGGER_DB (e.g.: EDW_LOGGER_DB=false);
Catalog indexing - Enabled by default. Can be disabled via environment variable EDW_LOGGER_CATALOG (e.g.: EDW_LOGGER_CATALOG=false);
Catalog indexing stack trace - Disabled by default. Can be enabled via environment variable EDW_LOGGER_CATALOG_STACK (e.g.: EDW_LOGGER_CATALOG_STACK=true);
Privacy options
User IP and user id are disabled by default, you can re-enable them using:
EDW_LOGGER_USER_IP (e.g.: EDW_LOGGER_USER_IP=true);
EDW_LOGGER_USER_ID (e.g.: EDW_LOGGER_USER_ID=true);
Changelog
1.15 - (2018-04-03)
Fix request call within zc.async context [avoinea]
Add z3c.autoinclude.plugin support [batradav]
1.14 - (2018-03-22)
Fix possible logging errors in catalog and db commits.
Disable user and IP logging by default. [batradav]
1.13 - (2018-03-02)
Fix logging errors caused by recursive Acquisition wrapped objects [batradav]
1.12 - (2018-02-28)
Fix zCatalog idxs and metadata report [avoinea]
1.11 - (2018-01-18)
Fix integer literals in duration report. [batradav]
1.10 - (2018-01-18)
Add zCatalog catalog_object support. Disabled by default. [batradav]
1.9 - (2017-05-23)
Add ‘Action’ based on URL on db commits and errors [avoinea]
1.8 - (2017-05-23)
Fix AttributeError: REQUEST [avoinea]
1.7 - (2017-05-16)
Fix AttributeError: ‘NoneType’ object has no attribute ‘getUserName’ [avoinea]
1.6 - (2017-05-16)
Add missing LoggerName on db_commit [avoinea]
1.5 - (2017-05-16)
Enable/disable logging via environment variables [avoinea]
1.4 - (2017-05-12)
Ignore health.check URLs [batradav]
1.3 - (2017-02.21)
Fixed cases where traceback contains non-ascii characters [olimpiurob refs #82516]
Add ‘font’ to ignored content types. [batradav]
1.2 - (2017-01-26)
Ignore all but GET and POST requests. [batradav]
1.1 - (2017-01-19)
Added LoggerName in the JSON object [refs #80663 olimpiurob]
1.0 - (2017-01-17)
Initial release
Release files for edw.logger 1.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| edw.logger-1.15-py2.7.egg | Legacy Egg format | - | - | Details |
| edw.logger-1.15-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 40.2 kB
Release files / edw.logger-1.15-py2.7.egg
| Download URL | edw.logger-1.15-py2.7.egg |
|---|---|
| Size | 25.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
6588ab8a33b2e0e2e6104732734d7e144aab1f775c36a5ddba23150ab2da69bf
|
|
BLAKE2b-256 checksum How to use checksums |
e6aa5f75c47fa76ea6ee734e0460a243f6637c5d91de01f7d064f3bde9464992
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / edw.logger-1.15-py2-none-any.whl
| Download URL | edw.logger-1.15-py2-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
19bc3941752e5cddabf5b7a9848cc43d5d2bd24f3f704e8368111ced80bb2f7f
|
|
BLAKE2b-256 checksum How to use checksums |
0919776234e3ed9c22ba284ef65a267922a10be6becb9436f43053846a17f5e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |