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:如何啟用 AUTHC DEBUG 以進行疑難排解

Summary: 本知識庫文章概述如何啟用 NetWorker 驗證服務 (authc) 的偵錯功能。不建議啟用除錯作為初始故障診斷步驟。如果預設記錄無法充分詳述 authc 中遇到的問題,通常由 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

NetWorker (AUTHC) 伺服器上有兩個需要修改的檔案。

(1) 
Linux:/nsr/authc/webapps/auth-server/WEB-INF/classes/log4j.properties
Windows:..\Program Files\EMC NetWorker\nsr\authc-server\tomcat\webapps\auth-server\WEB-INF\classes\log4j.properties

(2)
Linux:/opt/nsr/authc-server/conf/authc-cli-log4j.properties
Windows:..\Program Files\EMC NetWorker\nsr\authc-server\conf\authc-cli-log4j.properties

注意:對這些檔案進行任何變更之前,請先建立每個檔案的副本。
 

log4j.properties

在 log4j.properties 中,您應該會看到:

appender.app.policies.size.size=2000KB
appender.audit.policies.size.size=2000KB
logger.audit.level = error
rootLogger.level = warn

變更為:

appender.app.policies.size.size=100MB
appender.audit.policies.size.size=100MB
logger.audit.level = debug
rootLogger.level= debug

 

authc-cli-log4j.properties

在 authc-cli-log4j.properties 檔案中,您應該會看到:
 
appender.syslog.policies.size.size=100KB
rootLogger.level = error
變更為:
appender.syslog.policies.size.size=100MB
rootLogger.level= debug


這些變更只會在 NetWorker 伺服器服務重新開機後生效:

Linux:


nsr_shutdown systemctl start networker 

Windows:

net stop nsrd
net start nsrd

 

應在 authc-server-audit.log 和 authc-server.log 中看到標有 DEBUG 的訊息。 

Linux:/nsr/authc/logs/
Windows:..\Program Files\EMC NetWorker\nsr\authc-server\tomcat\logs\

Additional Information

Affected Products

NetWorker

Products

NetWorker Family, NetWorker Series
Article Properties
Article Number: 000196412
Article Type: How To
Last Modified: 06 Jun 2024
Version:  7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.