why not logging all the time? this is confusing.