Update logging for treenumbers