---
schema_version: "1"
id: 12c4360dddbfb91ae39bd81989b60fafcdab7b6f9ba9fb6069a445c834f74e6b
title: Configure the Data Loader Log File
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/data-loader-impl/guides/data-loader/loader-logging.md
canonical_url: https://developer.salesforce.com/docs/platform/data-loader-impl/guide/loader-logging.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: bc627fc47700c062a56761dbe52b254ad14389d1a6439bd5fd714665cce98722
products:
  - Data Loader Guide
  - Platform Developer Content
---

# Configure the Data Loader Log File

You can customize the Data Loader log file for advanced troubleshooting and tracking.

|Required Editions|
|-----------------|
|Available in: both Salesforce Classic ([not available in all orgs](https://help.salesforce.com/s/articleView?id=xcloud.overview_edition_lex_only.htm&type=5)) and Lightning Experience|
|Available in: **Enterprise**, **Performance**, **Unlimited**, and **Developer** editions|

## log-conf.xml

The log-conf.xml file is included with the Data Loader installer version 35.0 and later. To change the location of the log-conf.xml file, specify the full path, incuding the full file name, in the `LOG4J_CONFIGURATION_FILE` environment variable.

-   In Windows, the log-conf.xml file is at C:\\Users\\{userName}\\dataloader\\version\\configs
-   In macOS, the log-conf.xml file is at /Users/{userName}/dataloader/version/configs

## Configure Log Levels

Change _@LOG_LEVEL@_ to TRACE, DEBUG, INFO, WARN, ERROR, or FATAL for the needed level of log tracking. For Log4J log levels, see [https://logging.apache.org/log4j/2.0/manual/architecture.html.](https://logging.apache.org/log4j/2.0/manual/architecture.html)

To implement enhanced logging, use a copy of log-conf.xml.

