File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/core Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4747 "httpcore" ,
4848)
4949
50- logger = logging .getLogger (__name__ )
50+ _logger = logging .getLogger (__name__ )
5151
5252#
5353# https://patorjk.com/software/taag/#p=display&f=AMC%20Tubes&t=DYSIDECAR
@@ -126,7 +126,7 @@ def create_base_app() -> FastAPI:
126126 noisy_loggers = _NOISY_LOGGERS ,
127127 )
128128
129- logger .info (
129+ _logger .info (
130130 "Application settings: %s" ,
131131 json_dumps (app_settings , indent = 2 , sort_keys = True ),
132132 )
@@ -221,11 +221,11 @@ async def _on_startup() -> None:
221221 async def _on_shutdown () -> None :
222222 app_state = AppState (app )
223223 if docker_compose_yaml := app_state .compose_spec :
224- logger .info ("Removing spawned containers" )
224+ _logger .info ("Removing spawned containers" )
225225
226226 result = await docker_compose_down (docker_compose_yaml , app .state .settings )
227227
228- logger .log (
228+ _logger .log (
229229 logging .INFO if result .success else logging .ERROR ,
230230 "Removed spawned containers:\n %s" ,
231231 result .message ,
You can’t perform that action at this time.
0 commit comments