log prepend/append