write log added