Added logging aspect.