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.