NetWorker:如何启用 REST API 调试

Summary: 本文提供有关如何为在 NetWorker 中执行的 REST API 调用启用调试的说明。

Acest articol se aplică pentru Acest articol nu se aplică pentru Acest articol nu este legat de un produs specific. Acest articol nu acoperă toate versiunile de produs existente.

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

Produse afectate

NetWorker

Produse

NetWorker Family, NetWorker Series
Proprietăți articol
Article Number: 000206441
Article Type: How To
Ultima modificare: 12 aug. 2025
Version:  5
Găsiți răspunsuri la întrebările dvs. de la alți utilizatori Dell
Servicii de asistență
Verificați dacă dispozitivul dvs. este acoperit de serviciile de asistență.