Availability agent will check which node in an availability group is master and disable …
Frequent agent will move agent job logs into a archive table of your choosing.