Logging option logic