add support for logging to DataHub