Skip to content

Commit

Permalink
BGDIINF_SB-2520: Updated logging utilities for better logging configu…
Browse files Browse the repository at this point in the history
…ration

The latest logging utilities allow more flexibility in logging configuration.

Now the local logging configuration reflects the one that will be used in PROD.
  • Loading branch information
ltshb committed Aug 29, 2022
1 parent 306131e commit 30018f2
Show file tree
Hide file tree
Showing 4 changed files with 233 additions and 293 deletions.
9 changes: 0 additions & 9 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ disable=missing-docstring,
pointless-string-statement,
too-many-arguments,
too-few-public-methods,
bad-continuation, # bad-continuation doesn't comply with yapf, so lets
# yapf correct indentation continuation issue
useless-object-inheritance,


Expand Down Expand Up @@ -203,13 +201,6 @@ max-line-length=100
# Maximum number of lines in a module.
max-module-lines=1000

# List of optional constructs for which whitespace checking is disabled. `dict-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check=trailing-comma,
dict-separator

# Allow the body of a class to be on the same line as the declaration if body
# contains single statement.
single-line-class-stmt=no
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ gunicorn = "~=20.1.0"
Flask = "~=2.0.1"
Pillow = "~=9.0.1"
python-dotenv = "~=0.17.0"
logging-utilities = "~=1.2.3"
logging-utilities = "~=3.0"

[dev-packages]
yapf = "*"
Expand Down
Loading

0 comments on commit 30018f2

Please sign in to comment.