Add option to write configuration to log.