Improve sources.log output and formatting