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 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

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.
9328ce9fc18b2874368131d49c65a6229f8c7ef3 Michael Liu
reviewboard/extensions/hooks.py
reviewboard/extensions/templatetags/rb_extensions.py
Loading...