File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ def start(self):
136136 s = self .socket = socket .socket (socket .AF_UNIX , socket .SOCK_STREAM )
137137 s .bind (self .socket_path )
138138 s .listen (1 )
139- logger .info (f"started serving on { self .socket_path } " )
139+ logger .info (f"listening on { self .socket_path } " )
140140 try :
141141 while True :
142142 connection , _ = s .accept ()
@@ -193,6 +193,7 @@ def run(log_level: str, machine_spec: str):
193193 datefmt = "%Y-%m-%d %H:%M:%S" ,
194194 )
195195
196+ logger .info ("starting estimator" )
196197 set_env_from_model_config ()
197198 clean_socket ()
198199 signal .signal (signal .SIGTERM , sig_handler )
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def load_json(path: str, name: str = ""):
7676 res = json .load (f )
7777 return res
7878 except Exception as err :
79- logger .error (f"fail to load json { filepath } : { err } " )
79+ logger .error (f"failed to load json { filepath } : { err } " )
8080 return None
8181
8282
You can’t perform that action at this time.
0 commit comments