NetWorker: Come abilitare il debug dell'API REST

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

Ez a cikk a következő(k)re vonatkozik: Ez a cikk nem vonatkozik a következő(k)re: Ez a cikk nem kapcsolódik egyetlen konkrét termékhez sem. Ez a cikk nem azonosítja az összes termékverziót.

Instructions

  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

Érintett termékek

NetWorker

Termékek

NetWorker Family, NetWorker Series
Termék tulajdonságai
Article Number: 000206441
Article Type: How To
Utoljára módosítva: 12 aug. 2025
Version:  5
Választ kaphat kérdéseire más Dell-felhasználóktól
Támogatási szolgáltatások
Ellenőrizze, hogy a készüléke rendelkezik-e támogatási szolgáltatással.