From 1cbfa1f590fd2e5ac4cc9f367fa77fe389ffb9c1 Mon Sep 17 00:00:00 2001 From: "Balos, Cody, J" Date: Mon, 6 Nov 2023 15:04:44 -0800 Subject: [PATCH] remove warnings to stdout --- src/sundials/sundials_logger.c | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/sundials/sundials_logger.c b/src/sundials/sundials_logger.c index 872d1e4730..ce4769c76f 100644 --- a/src/sundials/sundials_logger.c +++ b/src/sundials/sundials_logger.c @@ -254,13 +254,6 @@ int SUNLogger_SetErrorFilename(SUNLogger logger, const char* error_filename) return -1; } } -#else - fprintf(stderr, - "[LOGGER WARNING] " - "SUNDIALS_LOGGING_LEVEL=%d (build time option) " - "is set too low for ERROR, but a ERROR file was provided. " - "Set the logging level to >= %d and recompile if ERROR output level " - "is desired.\n", SUNDIALS_LOGGING_LEVEL, SUN_LOGLEVEL_ERROR); #endif } @@ -300,13 +293,6 @@ int SUNLogger_SetWarningFilename(SUNLogger logger, const char* warning_filename) return -1; } } -#else - fprintf(stderr, - "[LOGGER WARNING] " - "SUNDIALS_LOGGING_LEVEL=%d (build time option) " - "is set too low for WARNING, but a WARNING file was provided. " - "Set the logging level to >= %d and recompile if WARNING output " - "level is desired.\n", SUNDIALS_LOGGING_LEVEL, SUN_LOGLEVEL_WARNING); #endif } @@ -346,13 +332,6 @@ int SUNLogger_SetInfoFilename(SUNLogger logger, const char* info_filename) return -1; } } -#else - fprintf(stderr, - "[LOGGER WARNING] " - "SUNDIALS_LOGGING_LEVEL=%d (build time option) " - "is set too low for INFO, but a INFO file was provided. Set the " - "logging level to >= %d and recompile if INFO output level is " - "desired.\n", SUNDIALS_LOGGING_LEVEL, SUN_LOGLEVEL_INFO); #endif } @@ -392,13 +371,6 @@ int SUNLogger_SetDebugFilename(SUNLogger logger, const char* debug_filename) return -1; } } -#else - fprintf(stderr, - "[LOGGER WARNING] " - "SUNDIALS_LOGGING_LEVEL=%d (build time option) " - "is set too low for DEBUG output, but a DEBUG file was provided. " - "Set the logging level to >= %d and recompile if DEBUG output level " - "is desired.\n", SUNDIALS_LOGGING_LEVEL, SUN_LOGLEVEL_DEBUG); #endif }