log assignment