From 850fa0470f92a4dc4acd5061e62a9462b12b9f55 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 18 May 2016 10:27:19 +1000 Subject: [PATCH] debug_posix: downgrade force_console error to WARN This is unavoidably triggered running under certain debuggers, so it's more useful to downgrade to WARN so as to not interfere with a useful DEBUG_BREAK or LOG_LEVEL setting. --- debug_posix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug_posix.cpp b/debug_posix.cpp index bc703769..610a01b1 100644 --- a/debug_posix.cpp +++ b/debug_posix.cpp @@ -120,6 +120,6 @@ void force_console (void) { if (!isatty (fileno (stdout))) { - LOG_ERROR ("expected debugging under a console"); + LOG_WARN ("expected debugging under a console"); } }