- Timestamp:
- 06/17/13 13:47:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HivePerformance/sources/HeuristicLab.Services.Hive.DataAccess/3.3/TransactionManager.cs
r9539 r9636 21 21 22 22 using System; 23 using System.IO;24 23 using System.Transactions; 25 24 … … 38 37 n--; // probably deadlock situation, let it roll back and repeat the transaction n times 39 38 LogFactory.GetLogger(typeof(TransactionManager).Namespace).Log(string.Format("Exception occured, repeating transaction {0} more times. Details: {1}", n, e.ToString())); 40 var log = new StreamWriter(@"C:\Temp\AbortedTransactions.log", true);41 log.WriteLine(DateTime.Now + ": Transaction aborted: " + n + " (" + e.Message + ")");42 log.WriteLine(e.StackTrace);43 log.Close();44 39 if (n <= 0) throw; 45 40 }
Note: See TracChangeset
for help on using the changeset viewer.