logging end