]> gerrit.simantics Code Review - simantics/fmil.git/blobdiff - org.simantics.fmil.core/native/FMUSimulator/fmi_util.c.txt
Reduced logging level in FMIL to warning
[simantics/fmil.git] / org.simantics.fmil.core / native / FMUSimulator / fmi_util.c.txt
index bfd6e203a552bb8144e48862945e32b5e3ce9180..450910cad7820976fc8435cfeec039214e4fa252 100644 (file)
@@ -180,7 +180,11 @@ int FMI_CS_LOAD(const char *zipFilePath, const char *unzipFolder, void **fmuPoin
     callbacks->realloc = realloc;
     callbacks->free = free;
     callbacks->logger = importlogger;
+#ifdef _DEBUG
     callbacks->log_level = jm_log_level_debug;
+#else
+       callbacks->log_level = jm_log_level_warning;
+#endif
     callbacks->context = 0;
 
        context = fmi_import_allocate_context(callbacks);