Add named logging in the extensions module.
Review Request #11398 — Created Jan. 22, 2021 and submitted
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-levellogger
object, log messages
will now include information about the source module.
Ran all
reviewboard.extensions.tests
unit tests.
Summary | ID |
---|---|
3b57ee53f5eb83969190d1e1e4dede901b081e40 |
Change Summary:
Linked bug in bugs field and added period to end of testing done.
Testing Done: |
|
||||||
---|---|---|---|---|---|---|---|
Bugs: |
|
-
-
reviewboard/extensions/templatetags/rb_extensions.py (Diff revision 1) Can you fix up indentation here?
logger
is one character shorter thanlogging
. -
-
Change Summary:
Aligned whitespace where I misaligned it
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+30 -22) |
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.