﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by deepforest  / Custom Logging in a transaction / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 25 May 2013 13:29:28 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Custom Logging in a transaction</title><link>http://www.sqlservercentral.com/Forums/Topic956927-1701-1.aspx</link><description>Nice idea. I have used xp_cmdshell to pipe debug to logfile when transactions fail[code="sql"]declare @msg varchar(255)set @msg =  'echo ' +  'debug text here' + ' &amp;gt; c:\log.txt'exec xp_cmdshell @msg ,NO_OUTPUT [/code]but this is better</description><pubDate>Thu, 22 Jul 2010 01:15:55 GMT</pubDate><dc:creator>Fiacre Lenehan</dc:creator></item><item><title>Custom Logging in a transaction</title><link>http://www.sqlservercentral.com/Forums/Topic956927-1701-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Custom+Logging/70637/"&gt;Custom Logging in a transaction&lt;/A&gt;[/B]</description><pubDate>Wed, 21 Jul 2010 23:19:08 GMT</pubDate><dc:creator>deepforest</dc:creator></item></channel></rss>