I understand the other checks, but not this one.  First, it's not totally reliable since it depends on the speed of the interpreter.  Second, I wonder if there's a better way to detect logging on.