Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

NetWorker:如何啟用 REST API 除錯

Summary: 本文提供如何啟用在 NetWorker 中執行 REST API 呼叫偵錯的指示。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

  1.  登入 NetWorker 伺服器。
  2.  製作 restapi logback.xml 檔案的複本: 
  • Linux:
/nsr/authc/webapps/nwrestapi/WEB-INF/classes/logback.xml
  • Windows: 
C:\Program Files\EMC NetWorker\nsr\authc-server\tomcat\webapps\nwrestapi\WEB-INF\classes\logback.xml
  1. 使用文字編輯器開啟 restapi logback.xml 檔案,並進行下列變更:
Change:
<root level="warn">

To:
<root level="trace">

注意:不需要重新開機服務。
 
  1. 重現需要 REST API 偵錯的問題。若要停用偵錯,請將追蹤設回以在 logback.xml 中發出警告
  2. 收集 restapi.log:
  • Linux:
/nsr/logs/restapi/restapi.log
  • Windows:
C:\Program Files\EMC NetWorker\nsr\logs\restapi\restapi.log

Affected Products

NetWorker

Products

NetWorker Family, NetWorker Series
Article Properties
Article Number: 000206441
Article Type: How To
Last Modified: 02 Feb 2024
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.