Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell NetWorker 19.9 Administration Guide

NetWorker Authentication Service server log file management

NetWorker Authentication Services uses the Apache log4j API to manage log files. To modify how NetWorker Authentication Services manage the authc-server.log log file, edit the log4j.properties file:

  • UNIX: The log4j.properties file is in /nsr/authc/webapps/auth-server/WEB-INF/classes.
  • Windows: The file is in C:\Program Files\EMC\authc-server\tomcat\webapps\auth-server\WEB-INF\classes.

This section describes how to modify the commonly used log attributes in the log4j.properties file. Apache documentation provides more detailed information about each attribute in the log4j.properties file.

Modifying the logging level
The rootLogger.level= attribute defines the level of logging that the NetWorker Authentication Service writes to the log files and where the messages appear. By default, the NetWorker Authentication Service sets the logging level to warn and messages appear in the log files, stdout, and in the Java application, There are five standard log levels: debug, info, warn, error, and fatal.

To change the logging level to error, modify the rootLogger.level= attribute to appear as follows: rootLogger.level=error

Modifying the maximum log file size
The appender.app.policies.size.size attribute defines the maximum size of the authc-server.log file. When the log file reaches the maximum size, NetWorker Authentication Service renames the log file for archival purposes and creates log file. By default, NetWorker Authentication Service sets the maximum size to 2000 KB.

To increase the size of the log file to 5 MB, modify the appender.app.policies.size.size attribute to appear as follows: appender.app.policies.size.size=5MB

Modifying the number of rollover log files
The appender.app.strategy.max attribute defines the number of authc-server.log rollover log files that the NetWorker Authentication Service maintains. When the size of the authc-server.log reaches the maximum file size value, NetWorker Authentication Service copies the contents of the log file to a new log file with the naming convention authc-server-incrementalNumber.log. By default, NetWorker Authentication Service maintains 10 rollover log files.

To increase the number of rollover log files by 4, modify the appender.app.strategy.max attribute to appear as follows: appender.app.strategy.max=14


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\