add some log functionality to the project

add some log functionality to the project