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: 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.

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.  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

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.