ADF Copy Activity "Enable logging" Setting

Casey Choe 0 Reputation points
2024-04-19T16:42:29.36+00:00

Hi, I've followed the instructions to obtain the logs for a "Copy data" activity (Quickbooks to Azure Database in Postgresql). There are 2 errors I want to log:

One was this error, from ADF activity run:
Failure happened on 'Sink' side. 'Type=Npgsql.PostgresException,Message=22003: numeric field overflow,Source=Npgsql,'

But the log file that is returned only has headers and this resource says that means no errors were found?

The other was this error, from ADF activity run:
ErrorCode=UserErrorFailedToConnectOdbcSource,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=ERROR [HY000] [Microsoft][QuickBooks] (61) API Connection Failed. Bad Request. HTTP Response code: 400

ERROR [HY000] [Microsoft][QuickBooks] (61) API Connection Failed. Bad Request. HTTP Response code: 400,Source=Microsoft.DataTransfer.Runtime.GenericOdbcConnectors,''Type=System.Data.Odbc.OdbcException,Message=ERROR [HY000] [Microsoft][QuickBooks] (61) API Connection Failed. Bad Request. HTTP Response code: 400

ERROR [HY000] [Microsoft][QuickBooks] (61) API Connection Failed. Bad Request. HTTP Response code: 400,Source=,'

Both activities have this setting enabled in this way:
User's image

The log files are found in my storage account but the content always only returns:

Timestamp,Level,OperationName,OperationItem,Message

(Similar to this post: https://learn.microsoft.com/en-us/answers/questions/665127/adf-copy-activity-lof-file-is-empty-after-enabled)

I understand what the error messages are saying, but I want a more detailed log of the activity/API requests (more than the ADF Input and Output logs) so I can troubleshoot the errors effectively. Any idea what's going on with the log files or if I can obtain the logs I want in a different way?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,599 questions
{count} votes