Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

checklog-odoo

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

checklog-odoo

Check if an odoo log file contains error, with the possibility to ignore some errors based on regular expressions

  • 1.0
  • Source
  • PyPI
  • Socket score

Maintainers
2

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc