Give more explanation about how toggling logging output is determined