start working on logging