adding line numbers to tree log