From 4eb096bd1328ab51cb8a4bcd40cb7ec5c92747d1 Mon Sep 17 00:00:00 2001
From: Christopher Rhodes <christopher.rhodes@embl.de>
Date: Thu, 2 Nov 2023 17:36:31 +0100
Subject: [PATCH] Reduce ilastik startup logging, which was ruining server log

---
 extensions/ilastik/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/ilastik/models.py b/extensions/ilastik/models.py
index fb7ea566..65057cca 100644
--- a/extensions/ilastik/models.py
+++ b/extensions/ilastik/models.py
@@ -40,7 +40,7 @@ class IlastikImageToImageModel(ImageToImageModel):
         args = app.parse_args([])
         args.headless = True
         args.project = self.project_file_abspath.__str__()
-        shell = app.main(args)
+        shell = app.main(args, init_logging=False)
 
         if not isinstance(shell.workflow, self.get_workflow()):
             raise ParameterExpectedError(
-- 
GitLab