finalize logging in features