# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1454604699 -3600
# Node ID 6c3a33e5439901a2ec62220ae186a211bdff3b54
# Parent  0b614b7333f1114b9695e85e0ff289679392c4e1
loggingmanager: Make initial value for width of log name configurable

diff -r 0b614b7333f1 -r 6c3a33e54399 core/loggingmanager.lua
--- a/core/loggingmanager.lua	Thu Feb 04 17:49:09 2016 +0100
+++ b/core/loggingmanager.lua	Thu Feb 04 17:51:39 2016 +0100
@@ -219,7 +219,9 @@
 	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;