• Thanks for that, I have checked in the Agent properties>history page and the option to clear the history is not set.

    To try to track it I ran a job every 10 mins overnight and the logs are there from 5:10 am so something is clearing the history at 5:00am, but I can't find any jobs or scheduled tasks that run at that time that would clear it.