Converting a Binary Log to a Text Log

Last Updated : Dec 16, 2020 |
Prolog information
You can use monitor to view binary log files (.mon files). However, it may sometimes be necessary to create a plain text copy of the log file so that it can be viewed in other applications.
Whilst you can save the current screen log to a text file at any time, this can be potentially problematic if a very large number of records have been displayed. Even if the procedure to convert a binary log to a text log is complex, it ensures that no records are lost.
  1. Click on the Freeze
Screen Logging icon. Alternatively, press Ctrl+G or select ViewFreeze Screen Logging.
  2. Clear any existing contents in the screen log by clicking the Clear
Display icon.
  3. Configure monitor to a non existent IP address.
    1. Click the Select Unit icon or press Ctrl+U.
    2. Enter an IP address that is not used.
    3. Click OK.
  4. Set monitor to capture the screen log records as they appear into a plain text log file.
    1. Click on the Log
Preferences icon. Alternatively, press Ctrl+L or select FileLog Preferences.
    2. Set the Log Mode to Daily.
    3. Ensure the Binary Logging is not selected.
    4. Select the Log to File option.
    5. Click OK.
  5. Open the binary log file:
    1. Click on the Open File icon. Alternatively, press Ctrl+O or select FileOpen.
    2. Browse to and select the log file.
    3. Click Open.
  6. The file opens in the screen log. Due to the log preferences selected, as monitor adds each binary log file record to the screen log, it also write the record into the plain text log file.
  7. Once the binary log file has been fully loaded, rollover the log file. Click on the Rollover Log icon. Alternatively, press Ctrl+R or select FileRollover Log.