Technical

Tips, Tricks and Technical Information

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 set up 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.


 

Trademarks, Registered Trademarks, and Copyrights

 

Trademarks, Registered Trademarks, and Copyrights

Drastic Technologies, Ltd. – trademarks specified here.
Linus Torvalds - Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Microsoft Corporation – Microsoft: Windows®, Video For Windows (VFW), DirectShow, Microsoft, Skype, Microsoft Azure, Microsoft Teams, Wave Mapper, Microsoft, Windows NT|2000|XP|XP Professional|Server 2003|Server 2008 |Server 2012, Windows 7, Windows 8, Media Player, Media Encoder, Windows Defender, Microsoft Office, .Net, Internet Explorer, SQL Server 2005|2008|2012|2014, Windows Media Technologies and Internet Explorer are trademarks of Microsoft Corporation.
All other trademarks are the property of their respective owners.

 

Image

For more than three decades, Drastic™ has been developing cutting edge digital video solutions for television, post production and sports broadcasting, from real time web delivery to 8K broadcast.

We offer standalone software for the end user or enterprise, integrated solutions for automated workflows, and OEM tools for custom applications or branded devices.

Contact Us

Address:
523 The Queensway, Suite 201
Toronto, ON
M8Y 1J7, Canada

Phone: +1 (416) 255 5636

Email: sales@drastictech.com

Fax: + 1 (416) 255 8780

Follow us on Social Media