Updated zPanel.js and DNS.js logging method to have an on/off switch