Select to view content in your preferred language

How to enable debug mode for Data Loading Tools

223
2
Jump to solution
05-28-2024 11:06 PM
BogdanHristozov
New Contributor III

Hello,

I'm trying to enable debug mode for Data Loading Tools to investigate some strange behavior related to the formatting of the data mapping workbooks, but I'm not able to find a solution. I'm using ArcGIS Pro 3.2 and Data Loading Tools are now part of the standard ArcToolbox tools.

In ArcGIS Pro 3.0 there was an option to enable debug level log messages using:

import dltsolutions
dltsolutions.logger.setLevel("DEBUG")

 Is this still possible?

0 Kudos
1 Solution

Accepted Solutions
MikeMillerGIS
Esri Frequent Contributor

You can still enable it, enter the following:

import logging
logging.getLogger("dataloading").setLevel('DEBUG')

View solution in original post

0 Kudos
2 Replies
MikeMillerGIS
Esri Frequent Contributor

You can still enable it, enter the following:

import logging
logging.getLogger("dataloading").setLevel('DEBUG')
0 Kudos
BogdanHristozov
New Contributor III

Thank you! I did not know I can access the logs from here.

0 Kudos