Skip to main content

checklog-odoo

PyPI - Version PyPI - Python Version


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.

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)

Source distribution for checklog-odoo 1.0
File Size Uploaded
checklog_odoo-1.0.tar.gz 8.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for checklog-odoo 1.0
File Interpreter ABI Platform
checklog_odoo-1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

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