Add a way to log Harvest API calls

By default, logging is disabled; to enable, simply set LOG_HARVEST=1.