logError & logWarn call console.log once

fixes #2468
Merge pull request #2469 from ErisDS/error-cleanup

logError & logWarn call console.log once