Tree generation functional again. Logging conf + code.