fix circular dep in log/config