logError & logWarn call console.log once

fixes #2468