Changing Log Levels in Transparent RAID

You might find yourself at time being required by support or a forum member to provide your Web UI logs or your Host logs in TRACE mode for troubleshooting.

Host logs

Host log settings are done through system environment variables: Right-click on “My Computer” -> Advanced system settings -> Environment Variables.

There are two things you can control about the host logs:

1. The location of the log file (the default is C:\):
key: FLEXRAID_NZFS_LOG_FILE_ROOT
value: the directory where you wish the log file to be

2. The log level:
key: FLEXRAID_NZFS_LOG_LEVEL
value: one of trace, info, warn, or error.

After changing the log level, you will need to reboot for the changes to take effect.

Web UI logs

1. Edit the log4j.properties file located in your installation directory (usually located in C:\Program Files (x86)\OpenEgg.org\NZFS Web Client Service 1.0 if running a 64 bit OS or C:\Program Files\OpenEgg.org\NZFS Web Client Service 1.0 if running a 32 bit OS)
Note that you might need to open the file as admin to be able to save your changes.

2. Set log4j.logger.com.tchegbe to one of trace, info, warn, or error.
Example: log4j.logger.com.tchegbe=TRACE

Be Sociable, Share!

Revisions

2 Responses to “Changing Log Levels in Transparent RAID”

  1. Kenny April 18, 2016 at 3:11 AM #

    For the FLEXRAID_NZFS_LOG_LEVEL variable, which setting would generate the least amount of logs, warn or error?

    • admin January 6, 2017 at 8:25 PM #

      Error.

Leave a Reply

one × 4 =