aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/loggingmanager.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index ee1aa362..b47c2ea5 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -219,7 +219,9 @@ local function log_to_stdout(sink_config)
if not sink_config.timestamps then
sink_config.timestamps = false;
end
- sink_config.source_width = 20;
+ if sink_config.source_width == nil then
+ sink_config.source_width = 20;
+ end
return log_to_file(sink_config, stdout);
end
log_sink_types.stdout = log_to_stdout;