Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
Some article numbers may have changed. If this isn't what you're looking for, try searching all articles. Search articles

NetWorker: How To Enable AUTHC DEBUG for Troubleshooting Purposes

Summary: This KB provides an overview on how to enable debugging for NetWorker's authentication service (authc). It is not recommended to enable debugging as an initial troubleshooting step. This process will typically be recommended by NetWorker support if default logging does not sufficiently detail an issue encountered in authc. ...

This article applies to   This article does not apply to 

Instructions

There are two files that need to be modified on the NetWorker (AUTHC) server.

(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

Note: Before making any changes to these files, create a copy of each file.
 

log4j.properties

In the log4j.properties you should see:

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

Change to:

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

 

authc-cli-log4j.properties

In the authc-cli-log4j.properties file you should see:
 
appender.syslog.policies.size.size=100KB
rootLogger.level = error
Change to:
appender.syslog.policies.size.size=100MB
rootLogger.level= debug


These changes will only take effect once the NetWorker server services are restarted:

Linux:

nsr_shutdown 
systemctl start networker 

Windows:

net stop nsrd
net start nsrd

 

messages tagged with DEBUG should be seen in the authc-server-audit.log and 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