Setting up debug logging

dt logo 1.5inchDrastic software outputs a lot of information when running.  Working with our APIs and command line tools, having the debug logging can help sort out interface and programming issues.  Storing these logs locally, off via a syslog server, can also help sort out issues by comparing the unexpected behavior to the corresponding time in the logs.

Windows Logging

By default, Windows uses the DebugOuptutString interface to send debug logs.  This can be captured using the Microsoft DebugView tool:

https://docs.microsoft.com/en-us/sysinternals/downloads/debugview

This tool only captures the debug info when it is running, so if it is not running the debug information is not saved.  To capture the information to an on-disk log, the DDRConfig tool can be used to redirect it.  In this case it will be saved until it is deleted.  To setup on-disk logging, run DDRConfig and go to the Advanced tab.  In the XML tree, go to /VVW/Debug and change EnableLog = 1

DDRConfig DebugLogging

This will cause the debug to be save to a file specified by DefaultLogName.

 

Linux 64 Bit (Centos, Ubuntu, etc)

By default, on any Linux system, all debug will be sent to the syslog.  If nothing is set up, then the log will be saved on the local system under /var/log/.  You can redirect the syslog using normal Linux syslog tools.

More great products from Drastic

Net-X-Code and Avid Interplay/MediaCentral Setup
Net-X-Code and Avid Interplay/MediaCentral Setup Avid Interplay/MediaCentral provides a convenient method to share media and projects among a group of Media Composer stations or other Avid products.  Dras... Tips, Tricks and Technical Information
Tutorials
Tutorials This article contains video tutorials on various Drastic Products including videoQC, 4KScope/Network Video Analyzer, Net-X-Code, MediaNXS and DrasticPreview.&nb... Tips, Tricks and Technical Information
ProRes Color Shifts In Post Production
ProRes Color Shifts In Post Production ProRes itself is very well defined, and should be completely shift free in the YCbCr domain at 10 bits per component.  The transform to YCbCr from RGB can ... Tips, Tricks and Technical Information
4KScope AJA Shared Mode
4KScope AJA Shared Mode 4KScope can be set up to share an AJA board with products like Adobe Premiere, Avid Media Composer, Assimilate SCRATCH, Autodesk Flame, Digital Vision Nuco... Tips, Tricks and Technical Information
Optimizing Windows Networking
Optimizing Windows Networking When using Drastic software on Windows, for some operations the network settings must be altered to allow for the performance necessary for the workflow. This i... Tips, Tricks and Technical Information