Add tree string representation in logs. Cleaned other logs.