---
title: Enabling log tracing
description: You can enable log tracing for token processing, HTTP request and response actions, and API debugging.
component: pingdirectory
version: 11.0
page_id: pingdirectory:delegated_admin_application_guide:pd_da_enable_log_tracing
canonical_url: https://docs.pingidentity.com/pingdirectory/11.0/delegated_admin_application_guide/pd_da_enable_log_tracing.html
revdate: September 21, 2023
section_ids:
  steps: Steps
---

# Enabling log tracing

You can enable log tracing for token processing, HTTP request and response actions, and API debugging.

## Steps

* To view OAuth token processing and full HTTP request and response tracing, enable the debug trace logger with the following command.

  ```shell
  $ bin/dsconfig set-log-publisher-prop \
    --publisher-name 'Debug Trace Logger' \
    --set enabled:true
  ```

* To enable `dadmin` API debug logging, use the following commands:

  ```shell
  $ bin/dsconfig create-debug-target \
    --publisher-name 'File-Based Debug Logger' \
    --target-name com.unboundid.directory.server.http \
    --set debug-level:VERBOSE
  ```

  ```shell
  $ bin/dsconfig create-debug-target \
    --publisher-name 'File-Based Debug Logger' \
    --target-name com.unboundid.directory.server.extensions.dadmin \
    --set debug-level:VERBOSE
  ```

  ```shell
  $ bin/dsconfig create-debug-target \
    --publisher-name 'File-Based Debug Logger' \
    --target-name com.unboundid.directory.broker.api \
    --set debug-level:VERBOSE
  ```

  ```shell
  $ bin/dsconfig set-log-publisher-prop \
    --publisher-name 'File-Based Debug Logger' \
    --set enabled:true
  ```
