Is "write a diary" natural English? Many teachers say it is incorrect, but the Longman Dictionary of Contemporary English online gives the following collocation:
keep/write a diary (=write regularly in a diary) While I was travelling, I kept a diary every day.