Write/Read log entry