use the same name for conf dir and log dirs
fix string format typo