get logs for data format
official documentation