Logging the proccess