Skip to content

Commit 61ed29a

Browse files
authored
add stack info to "client set more than once" log message (#1158)
This should allow us to find the call chain that triggers such a case
1 parent 11d8d77 commit 61ed29a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticapm/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,5 +631,5 @@ def set_client(client):
631631
global CLIENT_SINGLETON
632632
if CLIENT_SINGLETON:
633633
logger = get_logger("elasticapm")
634-
logger.debug("Client object is being set more than once")
634+
logger.debug("Client object is being set more than once", stack_info=True)
635635
CLIENT_SINGLETON = client

0 commit comments

Comments
 (0)