You are viewing an old revision of this post, from 20 October, 2013 @ 20:54. See below for differences between this version and the current revision.

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

Revisions

Revision Differences

20 October, 2013 @ 20:54Current Revision
Content
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. 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.
<h1>Host logs</h1> <h1>Host logs</h1>
Host log settings are done through system environment variables: Right-click on "My Computer" -> Advanced system settings -> Environment Variables. 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: There are two things you can control about the host logs:
<strong>1. The location of the log file (the default is C:\): </strong> <strong>1. The location of the log file (the default is C:\): </strong>
<strong>key:</strong> FLEXRAID_NZFS_ LOG_FILE_ROOT <strong>key:</strong> FLEXRAID_NZFS_ LOG_FILE_ROOT
<strong>value:</strong> the directory where you wish the log file to be <strong>value:</strong> the directory where you wish the log file to be
<strong>2. The log level: </strong> <strong>2. The log level: </strong>
<strong>key:</strong> FLEXRAID_NZFS_LOG_LEVEL <strong>key:</strong> FLEXRAID_NZFS_LOG_LEVEL
<strong>value:</strong> one of trace, info, warn, or error. <strong>value:</strong> one of trace, info, warn, or error.
After changing the log level, you will need to reboot for the changes to take effect. After changing the log level, you will need to reboot for the changes to take effect.
<h1>Web UI logs</h1> <h1>Web UI logs</h1>
-1. Edit the <strong>log4j.properties</strong> file located in installation directory (usually located in <strong>C:\Program Files (x86)\OpenEgg.org\NZFS Web Client Service 1.0</strong> if running a 64 bit OS or <strong>C:\Program Files\OpenEgg.org\NZFS Web Client Service 1.0</strong> if running a 32 bit OS) +1. Edit the <strong>log4j.properties</strong> file located in your installation directory (usually located in <strong>C:\Program Files (x86)\OpenEgg.org\NZFS Web Client Service 1.0</strong> if running a 64 bit OS or <strong>C:\Program Files\OpenEgg.org\NZFS Web Client Service 1.0</strong> if running a 32 bit OS)
<em>Note that you might need to open the file as admin to be able to save your changes</em>. <em>Note that you might need to open the file as admin to be able to save your changes</em>.
2. Set <strong>log4j.logger.com.tchegbe</strong> to one of trace, info, warn, or error. 2. Set <strong>log4j.logger.com.tchegbe</strong> to one of trace, info, warn, or error.
Example: log4j.logger.com.tchegbe=TRACE Example: log4j.logger.com.tchegbe=TRACE

Note: Spaces may be added to comparison text to allow better line wrapping.

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

19 − 6 =