aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/loggingmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index e4ab32b5..d8e557f9 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -213,7 +213,7 @@ local function log_to_stdout(sink_config)
end
log_sink_types.stdout = log_to_stdout;
-local do_pretty_printing = true;
+local do_pretty_printing = not have_pposix or pposix.isatty(stdout);
local logstyles, pretty;
if do_pretty_printing then