speeding up logger