Logging library.
Go to file
Hervé Beraud ad42c89f3b Adding pre-commit
Introduced changes:
- pre-commit config and rules.
- Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks.
- Applying fixes for pre-commit compliance in all code.

Also commit hash will be used instead of version tags in pre-commit to
prevend arbitrary code from running in developer's machines.

pre-commit will be used to:
- trailing whitespace;
- Replaces or checks mixed line ending (mixed-line-ending);
- Forbid files which have a UTF-8 byte-order marker
  (check-byte-order-marker);
- Checks that non-binary executables have a proper
  shebang (check-executables-have-shebangs);
- Check for files that contain merge conflict strings
  (check-merge-conflict);
- Check for debugger imports and py37+ breakpoint()
  calls in python source (debug-statements);
- Attempts to load all yaml files to verify syntax (check-yaml);
- Run flake8 checks (flake8) (local)

For further details about tests please refer to:
https://github.com/pre-commit/pre-commit-hooks

Change-Id: I6663d5e0866e03f8eb8c0543d3e3e0bbfb2399ac
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2020-09-08 14:21:18 +02:00
doc Adding pre-commit 2020-09-08 14:21:18 +02:00
oslo_log Added uwsgi_name information into fluentFormatter event message 2020-07-11 16:01:32 +00:00
releasenotes Adding pre-commit 2020-09-08 14:21:18 +02:00
.coveragerc Fix coverage configuration and execution 2015-10-05 17:22:34 -04:00
.gitignore Ignore releasenote artifacts files. 2020-01-31 10:55:10 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:48:02 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-08-25 14:42:22 -04:00
.pre-commit-config.yaml Adding pre-commit 2020-09-08 14:21:18 +02:00
.stestr.conf Migrate to stestr 2018-08-10 15:57:52 -04:00
.zuul.yaml zuul: port the legacy grenade job 2020-07-29 20:14:40 +02:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:24:59 +02:00
HACKING.rst Update URLs according to document migration 2017-07-11 22:46:53 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-08-25 14:42:22 -04:00
lower-constraints.txt Merge "Remove the unused coding style modules" 2020-05-26 13:37:47 +00:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-30 13:38:11 +08:00
requirements.txt Remove monotonic usage 2020-05-04 17:26:30 -05:00
setup.cfg Remove translation sections from setup.cfg 2020-05-15 11:16:23 +08:00
setup.py remove outdated header 2020-02-10 18:37:12 +01:00
test-requirements.txt Adding pre-commit 2020-09-08 14:21:18 +02:00
tox.ini Adding pre-commit 2020-09-08 14:21:18 +02:00

Team and repository tags

image

oslo.log -- Oslo Logging Library

Latest Version

Downloads

The oslo.log (logging) configuration library provides standardized configuration for all openstack projects. It also provides custom formatters, handlers and support for context specific logging (like resource id's etc).