Add named logging in the extensions module.

Review Request #11398 — Created Jan. 22, 2021 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x

Reviewers

The old global logging commands such as logging.error and
logging.info do not insert information about where the log message
came from. By instantiating a module-level logger object, log messages
will now include information about the source module.

Ran all reviewboard.extensions.tests unit tests.

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
Add named logging in the extensions module.
The old global logging commands such as `logging.error` and `logging.info` do not insert information about where the log message came from. By instantiating a module-level `logger` object, log messages will now include information about the source module.
3b57ee53f5eb83969190d1e1e4dede901b081e40 Michael Liu
reviewboard/extensions/hooks.py
reviewboard/extensions/templatetags/rb_extensions.py
Loading...