NetWorker: Come abilitare il debug dell'API REST

摘要: Questo articolo fornisce istruzioni su come abilitare il debug per le chiamate API REST eseguite in NetWorker.

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

说明

  1.  Accedere al server NetWorker.
  2.  Creare una copia del file logback.xml restapi: 
  • 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. Aprire il file restapi logback.xml con un editor di testo e apportare le seguenti modifiche:
Change:
<root level="warn">

To:
<root level="trace">

NOTA: Non è necessario riavviare il servizio.
 
  1. Riprodurre un problema che richiede il debug dell'API REST. Per disabilitare il debug, impostare trace back in warn in logback.xml
  2. Raccogliere restapi.log:
  • Linux:
/nsr/logs/restapi/restapi.log
  • Windows:
C:\Program Files\EMC NetWorker\nsr\logs\restapi\restapi.log

受影响的产品

NetWorker

产品

NetWorker Family, NetWorker Series
文章属性
文章编号: 000206441
文章类型: How To
上次修改时间: 12 8月 2025
版本:  5
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。