Automate generation of the sample log config.