From 6346268f914f9c8de79f5bf49e8d57f36865a264 Mon Sep 17 00:00:00 2001 From: Chavithra Date: Thu, 31 Mar 2022 19:42:58 +0200 Subject: [PATCH] Logging : fix filter (#1602) --- openbb_terminal/log/generation/formatter_with_exceptions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openbb_terminal/log/generation/formatter_with_exceptions.py b/openbb_terminal/log/generation/formatter_with_exceptions.py index dc4775bfa5b..813e772c135 100644 --- a/openbb_terminal/log/generation/formatter_with_exceptions.py +++ b/openbb_terminal/log/generation/formatter_with_exceptions.py @@ -59,7 +59,10 @@ class FormatterWithExceptions(logging.Formatter): s_list.append("suspected_ip") elif "@" in word and "." in word: s_list.append("suspected_email") - elif os.sep in word and f"OpenBBTerminal{os.sep}" in word: + elif ( + f"OpenBBTerminal{os.sep}" in word + or f"GamestonkTerminal{os.sep}" in word + ): s_list.append( word.split(f"OpenBBTerminal{os.sep}")[1] .replace('"', "")