Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ Fixed
interpolated properly. (bug fix)

Contributed by @misterpah
* Fixed a compatibility issue with the latest version of the ``logging`` library API
where the ``find_caller()`` function introduced some new variables. (bug fix) #4923

Contributed by @Dahfizz9897

Removed
~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion st2common/st2common/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
_srcfile = get_normalized_file_path(__file__)


def find_caller(stack_info=None):
def find_caller(*args, **kwargs):
"""
Find the stack frame of the caller so that we can note the source file name, line number and
function name.
Expand Down