changed remove log behavior to appends
add time-date stamp to debug
Setting the right debugging message