Needed to have a full blown log object here so log.error works. But it does make the console noisy.