Changed so that if Stats is logging to a Logger object it checks to see