added section on logging