Stack overflow in Log class.