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

Reading MXF Files
Reading MXF Files There are a huge variety of MXF types and directory styles.  This article goes through some of the most common types, and describes how they are used in Me... Tips, Tricks and Technical Information
Running Net-X-Code In The Cloud (AWS/GCS/VM)
Running Net-X-Code In The Cloud (AWS/GCS/VM) Net-X-Code can be run on local servers, local VMs or cloud based VMs.  The VMs can be using RedHat/Centos, Windows, Windows Server, or even Docker.  F... Tips, Tricks and Technical Information
FlowCaster SRT Quick Start
FlowCaster SRT Quick Start FlowCaster Quick Start for SRT.  This article explains how to setup and test the FlowCaster output with freely available player tools. FlowCaster Quick ... Tips, Tricks and Technical Information
Manual removal of Drastic software
Manual removal of Drastic software This article lists the locations where Drastic software components may be installed, in case the software needs to be removed manually.   OS-X For vid... Tips, Tricks and Technical Information
Running Net-X-Code (no server)
Running Net-X-Code (no server) Net-X-Code is normally run as on a server, where the parts of Net-X-Code run automatically as services. For some applications, only part of Net-X-Code needs to ... Tips, Tricks and Technical Information