Spaces:
Running
on
Zero
Running
on
Zero
DongfuJiang
commited on
Commit
•
2b3c81e
1
Parent(s):
e636f89
update
Browse files- serve/log_utils.py +1 -1
serve/log_utils.py
CHANGED
@@ -39,7 +39,7 @@ class APIHandler(logging.Handler):
|
|
39 |
except requests.RequestException as e:
|
40 |
print(f"Error sending log to API: {e}", file=sys.stderr)
|
41 |
|
42 |
-
def build_logger(logger_name, logger_filename, add_remote_handler=
|
43 |
global handler
|
44 |
|
45 |
formatter = logging.Formatter(
|
|
|
39 |
except requests.RequestException as e:
|
40 |
print(f"Error sending log to API: {e}", file=sys.stderr)
|
41 |
|
42 |
+
def build_logger(logger_name, logger_filename, add_remote_handler=False):
|
43 |
global handler
|
44 |
|
45 |
formatter = logging.Formatter(
|