Eric work on logging, added graph feature, added line ID

Eric work on logging, added graph feature, added line ID