fbpx

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:

Animation And Single Frame Recording
Animation And Single Frame Recording Drastic VVW and Titan Series DDRs, QuickClip, MediaNXS and DrasticDDR software can be used to capture single or multiple frames into a sequence of still images ... Tips, Tricks and Technical Information
RS-422 Device and Controller Hardware
RS-422 Device and Controller Hardware Drastic Technologies' VTR and DDR products include the necessary conversion hardware for RS-232 (your computer's serial port) to RS-422 (broadcast VTRs and... Tips, Tricks and Technical Information
Keyboard Layout for Drastic Programs
Keyboard Layout for Drastic Programs All Drastic software uses a similar keyboard layout for control.  There are some variations for program-specific functions, but the general transport contr... Tips, Tricks and Technical Information
MediaComposer AMA Link Sony XAVC-S
MediaComposer AMA Link Sony XAVC-S Avid tools support MPEG-4 using QuickTime as well as using MediaReactor Workstation. QuickTime cannot handle newer MP4 formats like XAVC-S and MPEG-2 from Sony ... Tips, Tricks and Technical Information
GPI Configuration
GPI Configuration Most Drastic DDR and video I/O products (like MediaNXS, DTReplay, SyncControl Pro) support a variety of GPI interfaces. Because of the variety of hardware and u... Tips, Tricks and Technical Information