Support

0

How do I change the logging levels of the Hyperview Data Collector logs?

Avatar
Jamie Conner

I need to change the level of logging for the Hyperview Data Collector logs. How can I change the logging level from Error to Trace or Debug?

Avatar
Discard
1 Answer
0
Avatar
Jamie Conner
Best Answer

Windows Data Collector

The Windows Hyperview Data Collector log files can be found in the following directory. The ProgramData folder is hidden in Windows by default, so you may need to enable view hidden files in the Windows explorer.

C:\ProgramData\Hyperview\log\datacollector

By default the logs generated here by the Hyperview Data Collector are in Error mode. This means that only errors and exceptions are logged. If you need to change the logging level to Trace you can follow these instructions.

  1. Navigate to C:\Program Files\Hyperview\Hyperview Data Collector\dataCollector.

  2. Find the file named NLog.config and open it in a text editor.

  3. Scroll to the bottom of the file and locate the rules block. You will see a section for minlevel="Error".

  4. Change "Error" to "Trace" and save the file.

Now the Hyperview Data Collector is in Trace logging mode and will capture far more information in the log file.


REMEMBER TO SET THE LOGGING LEVEL BACK TO ERROR
The Data Collector logs grow in size very quickly when in Trace mode. If the logging level remains in Trace mode for too long, then it may become too large and cause system instability. Follow the same configuration steps listed above to reset the logging level to Error

Avatar
Discard