NetWorker: REST API 디버깅을 활성화하는 방법
Summary: 이 문서에서는 NetWorker에서 수행되는 REST(Representational State Transfer) API(Application Programming Interface) 호출에 대한 디버깅을 활성화하는 방법에 대한 지침을 제공합니다.
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
- NetWorker Server에 로그인합니다.
- 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
- 텍스트 편집기로 logback.xml 파일을 열고 아래와 같이 변경합니다.
<!-- Note: Supported levels are "error", "warn", "info", "debug", and "trace". --> <logger name="com.emc.nw.webapi" level="info"/> <logger name="com.emc.nw.comm" level="info"/> <logger name="com.emc.nw.util" level="info"/> <!-- Note: For API call logging, enable the following trace settings. <logger name="com.emc.nw.webapi.WebApiRequest" level="trace"/> <logger name="com.emc.nw.webapi.WebApiResponse" level="trace"/> --> <logger name="org.springframework" level="warn"/> <logger name="org.apache.cxf.jaxrs.provider" level="error"/> <root level="warn">
수정 후:
<!-- Note: Supported levels are "error", "warn", "info", "debug", and "trace". --> <logger name="com.emc.nw.webapi" level="debug"/> <logger name="com.emc.nw.comm" level="debug"/> <logger name="com.emc.nw.util" level="debug"/> <!-- Note: For API call logging, enable the following trace settings. --> <logger name="com.emc.nw.webapi.WebApiRequest" level="trace"/> <logger name="com.emc.nw.webapi.WebApiResponse" level="trace"/> <logger name="org.springframework" level="debug"/> <logger name="org.apache.cxf.jaxrs.provider" level="debug"/> <root level="debug">
참고: 강조 표시된 수준 값을 "warn"에서 "debug"로 변경합니다. - -> 를 WebApi 줄의 끝에서 주석 줄의 끝으로 이동합니다. "<-- -->" 내의 데이터는 XML로 주석 처리되며 서비스 설정에서 읽지 않습니다.
- 서비스를 다시 시작할 필요가 없습니다. REST API 디버깅이 필요한 문제를 재현합니다. 디버그를 비활성화하려면 변경 사항을 되돌리거나 수정된 logback.xml 제거하고 복사본을 원래 위치에 다시 놓습니다.
- restapi.log 수집:
Linux:
/nsr/logs/restapi/restapi.log
Windows:
C:\Program Files\EMC NetWorker\nsr\logs\restapi\restapi.log
- NetWorker 인증 로그는 REST API 관련 문제를 해결하는 데에도 유용합니다.
Linux:
/nsr/authc/logs
Windows:
C:\Program Files\EMC NetWorker\nsr\authc-server\tomcat\logs
Additional Information
Affected Products
NetWorkerProducts
NetWorker Family, NetWorker SeriesArticle Properties
Article Number: 000206441
Article Type: How To
Last Modified: 01 Jan 2026
Version: 6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.