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) 启用调试。建议不要将启用调试作为初始故障排除步骤。如果默认日志记录无法充分详细说明在身份验证中遇到的问题,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

 

标记有 DEBUG 的消息应在 authc-server-audit.log 和 authc-server.log 中看到。 

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.