Black Box File and Archiving

Black Box File and Archiving

BPWin logs most actions in a "BlackBox" log file, located in the "BP\DATALOG" folder in the home directory, named "BlackBox.html". Each time BPWin is started a new log file is created and session actions are reported. Each action reported has a timestamp in the ISO8601 form of: YYYY-MM-DD hh:mm:ss [+/-]hhmm.The log from a previous session is archived with a file name, "BlackBoxBakX.html" (where 'X' is the index number of the file).

The log file is generated in HTML format which allows embedding of the Job Summary Report and other HTML content directly as-is without converting to text. Microsoft Internet Explorer 9+ or Firefox 6+ is recommended for viewing BlackBox log files. To reduce clutter in the BlackBox log file, collapsible sections are used to group certain pieces of related information together. These sections are collapsed by default, and can be expanded or collapsed by clicking the title of each section. Each section title is bolded and underlined so it can be identified easily. To quickly expand or collapse all sections in the log file, the "Expand/Collapse all sections" button at the top of the log file can be used to view or hide the additional log details.

When the black box log file becomes inaccessible for more than 5 seconds (this happens when the log file is being copied or when the Hard Drive is full, etc), this window will appear and any job session in progress will pause.

 

When the file becomes accessible again, the window will disappear and the job session will continue normally. No logging information will be lost. If you click the "Stop Logging" button the window will disappear and BPWin will resume normal operation, but no further logging attempts will be made for the remainder of the BPWin session. At this point you should stop the job session, close BPWin, resolve the problem, restart BPWin, and then restart the job session again.

The following HKEY_LOCAL_MACHINE registry keys determine the size of the BlackBox log file and the size of the directory where the BlackBox log files are stored. The default value can be changed in the registry through "regedit", if desired.

  • HKLM\Software\BP Microsystems\BPWin\LogFileLimitMB - The BlackBox file has a default limit of 10MB. Once the current log file goes beyond the limit, the file will be archived and a new BlackBox log file created.

  • HKLM\Software\BP Microsystems\BPWin\LogDirectoryLimitMB - The "BP\DATALOG" folder has a default limit of 1GB (1024 MB). When archiving the current BlackBox.log file, the oldest log file(s) that are beyond this limit will be deleted.

Note:

  • BlackBox log files named with the older scheme of "bpX.log" will also be deleted when this limit is reached.

  • Since the "DATALOG" folder limited only by size and not a file number limit, the number of files in this folder can grow very large. It is up to the user to delete those files if they choose.

    • Related Articles

    • What is the file size limit for black box files

      The BlackBox file has a default limit of 10MB.  Once the current log file goes beyond the limit, the file will be archived and a new BlackBox log file created. This limit can be changed by editing the Windows registry: HKLM\Software\BP ...
    • BPWin File Format

      Summary To provide customers with general definition of file formats that BPMicrosystems currently support Details Below, you will find a few links for reference. Please note that many of these file formats are rarely used for programming these days ...
    • BPWin Log File Limits

      As a default, BPWin sets a 1024MB log file directory limit and a 10MB per log file limit, but it is possible to change these values if you wish.  To do this, keys must be changed in Windows Registry. Please take care when editing the registry as it ...
    • Where do i find the BlackBox file

      BPWin logs most actions in a "BlackBox" log file. This file is located in the "BP\DATALOG" folder in the home directory, named "BlackBox.html". Batches of folders can also be created, named with a date and time stamp to help location files created ...
    • In the DOS version, the configuration settings were saved to a file. Where did they go

      With the introduction of the BPWin software, the configuration settings are no longer saved to a file. These settings are now being saved in the Windows Registry and are not deleted upon being uninstalled. This allows the user to continue to use ...