Logging to the Detailed Error log history
Errors are automatically logged to the Detailed Error log history. This log is viewed using “View”, ”Error Log File”. This type of logging is not affected by the “Logging on” option, which refers to automatic disk logging.
Note: Text and HTML reports can be manually created using “File”, "Save report”. This will save System information, a result summary and the recent Detailed Error log history (up to 1000 entries). A customer style test certificate is also available.
Automatic Logging (to disk)
Logging to disk is switched on and off with the “Logging on” option. When disk logging is on, BurnInTest will log System information, results, result summaries, and detailed error descriptions to files based on the following user settings.
The log directory allows the directory and filename prefix to be specified. For the default of “Time stamped files”, the file will automatically be appended with _YYMMDD_HHMMSS.log, .htm or .trace, specifying the Year, Month, Day, Hour, Minute & second that the disk log file was created.
Specify “Log name prefix” if you wish to prefix the standard BurnInTest Text or HTML log filenames you can type a prefix string into the “Prefix” edit box. For example, if you want to prefix the standard BurnInTest log filenames with the text “SPECIAL_TEST_” then just enter,
SPECIAL_TEST_
If you want to prefix using an environment variable, %COMPUTERNAME%, %USERNAME%, %OS%, %PROCESSOR_ARCHITECTURE% are supported. So, if for example you wanted to prefix log files with a test run description, the computer’s name and the user’s name, just enter,
Test123_%COMPUTERNAME%_%USERNAME%_
A “Log detail level” may be selected for disk logging to specify the amount of information to be written to disk. The options that may be selected are:
A “Trace level” may be selected for detailed disk logging to specify the amount of information to be written to disk. The options that may be selected are:
Setting “Max file size” specifies the approximate maximum file size in terms of the number of lines in either the log or trace files.
Some test runs can lead to a large number of error events that are the same. To produce a summarized log of these errors, select “Summarize”. When more than 3 events that are the same are produced in chronological order, the 3rd event through to the last same event will be summarized into a single line, together with an indication of the number of events that are the same that have not been displayed. The default is to not summarize events.
By default a log file is created when Logging is turned on or when BurnInTest starts if logging is configured to be on. Select “Test run only” to only create a log file when the test run starts. Please note that any events that occurs before a test run (eg. System or application events) will be lost.
The format of the Result summary and Normal log files may be specified to be either ASCII text or HTML via the “ACSII Format” or “HTML Format” buttons. This setting will also determine the format of the Trace logs (from version 5.1).
By default, time stamped log files are created, this is the “Time stamped files” option. A new set of log files will be created when Logging On is switched on, any of the logging options (Log Directory, Detail Level, ASCII/HTML Format) are changed, or when BurnInTest is started with Logging switched on. The only exception is when BurnInTest is automatically stopped with a REBOOT or REBOOTEND scripting command, and then the original log files will be re-opened and appended to.
The log files are closed and available for use by another application when Logging On is switched off, any of the logging options (Log Directory, Detail Level, ASCII/HTML Format) are changed, or when BurnInTest is exited or automatically stopped with a REBOOT or REBOOTEND scripting command.
By specifying “Single file”, no date or time stamp is appended to the filename and only a single log file (and if specified, a single trace file) will be created and all results will be logged to this file. “Single file” may be a useful option when the output is to be processed by an external program.
Periodically log result summary reports during a test
When logging is switched on, by default a result summary report will be logged at the end of a test run. Change this value if you would like to log interim summary reports during the test (every X minutes). The main requested use of this option is to help obtain information about the testing status of a system prior to a system crash on an unstable system. Note: All error events are written in real time, so the main use of this option will be if there are few errors occurring.
Pre-test logging options for test result clearing and log file creation
Test results, including the detailed error and status log history, can either be cleared each time a new test run is started or test results can be accumulated across several test runs. Accumulating test results is useful when doing scripted testing, including, reboot testing. If test results are accumulated, the only way test results can be cleared is with the ‘Edit / Clear All Results’ menu item.
Accumulating test results means that the error count, cycle count and operations count values are the total values that have been accumulated across all test runs on this machine.
Accumulation will also occur across scripted reboots, sleeps and execute commands.
Log files may be appended to the existing log file or a new log file created at the start of each test run.
Three options are available for clearing/accumulating test results and creating/appending log files. These options are:
Note: Regardless of the configuration settings, the detailed error and status log history is maintained at a maximum of 1000 lines, with the oldest data cleared if this size is exceeded.
See also