---
title: "Modifying the access log using <code class=\"cmdname\"><strong>dsconfig</strong></code> non-interactive mode"
description: Modify PingDirectory access log publisher properties using the dsconfig tool in non-interactive mode with the --no-prompt option for command lines and scripts.
component: pingdirectory
version: 11.1
page_id: pingdirectory:pingdirectory_server_administration_guide:pd_ds_modify_access_log_dsconfig_non_int_mode
canonical_url: https://docs.pingidentity.com/pingdirectory/11.1/pingdirectory_server_administration_guide/pd_ds_modify_access_log_dsconfig_non_int_mode.html
llms_txt: https://docs.pingidentity.com/pingdirectory/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: September 13, 2023
section_ids:
  about-this-task: About this task
  steps: Steps
  example: Example:
---

# Modifying the access log using `dsconfig` non-interactive mode

Use the `dsconfig` tool in non-interactive mode to modify a log publisher property on the command line or in a script.

## About this task

For information on each property, see the PingDirectory server [Configuration Reference Guide](https://docs.ping.directory/PingDirectory/latest/cli/index.html), which is an HTML document listing the various properties for each PingDirectory server component.

## Steps

* Use `dsconfig` with the `--no-prompt` option with the properties you want to modify or set for your access log.

  ### Example:

  In this example, enable the properties to include the instance name and startup ID.

  ```shell
  $ bin/dsconfig set-log-publisher-prop --publisher-name "File-Based Access Logger" \
    --set include-instance-name:true --set include-startup-id:true
  ```
