PR #4711 (2/2: integrate optional component logging setting into core)