checklog-odoo
Check if an odoo log file contains error, with the possibility to ignore some errors based on regular expressions.
This project replaces the acsoo's checklog command.
Table of Contents
Installation
pipx install checklog-odoo
Use examples
checklog-odoo odoo.log
unbuffer odoo -d mydb -i base --stop-after-init | checklog-odoo
checklog-odoo --ignore "WARNING.*blah" odoo.log
Usage
Usage: checklog-odoo [OPTIONS] [FILENAME]
Check an odoo log file for errors. When no filename or - is provided, read
from stdin.
Options:
-i, --ignore REGEX Regular expression of log records to ignore.
--echo / --no-echo Echo the input file (default when reading
from stdin).
--err-if-empty / --no-err-if-empty
Exit with an error code if no log record is
found (default).
-v, --verbose
-c, --config FILE Configuration file [default: checklog-odoo.cfg]
--help Show this message and exit.
Example of config file:
The configuration file use the ini format:
[checklog-odoo]
ignore=
WARNING
ERROR:.*registry
License
checklog-odoo is distributed under the terms of the MIT license.
Metadata
Release files for checklog-odoo 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| checklog_odoo-1.0.tar.gz | 8.7 kB | Without provenance | Details for checklog_odoo-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| checklog_odoo-1.0-py3-none-any.whl | Python 3 | none | any | Details for checklog_odoo-1.0-py3-none-any.whl |
Total release size: 15.5 kB
Release files / checklog_odoo-1.0.tar.gz
| Download URL | checklog_odoo-1.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
559d99fca9b510b3cf30e4ae12c9d995a2257f55187af3908b8695a9aedf7db1
|
|
BLAKE2b-256 checksum How to use checksums |
2836752e889192ca3b8f4d60c4976e8d94e7bd013069065db888f6eaf8ae1314
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / checklog_odoo-1.0-py3-none-any.whl
| Download URL | checklog_odoo-1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38f8d2614e8217d650b76a4d07451f61a11990a3ef1890fe6306113a275f9b3b
|
|
BLAKE2b-256 checksum How to use checksums |
66d344b23f874becd211f4853c9375b3dcfe42ae3a4a75f09b25bbcff37d57bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for checklog-odoo 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.