Fix data source log bug