Hello,
Thanks for the informative blog. I was able to successfully implement logging in my project with the exception of one glitch on the 'OnError' event. One of my tasks executes a statement like - UPDATE TABLE1 SET COL1 = '123' WHERE DESC = 'ABC'
When this task fails, the ErrorDescription looks like - Executing the query "UPDATE TABLE1 SET COL1 = 123 WHERE DESC = 'ABC' " .
I am having trouble inserting the above message into a table since, adding single quotes '' around the message gives out an error since the values for DESC is surrounded by quotes as well. Unfortunately, I can only add the escape characters surrounding the ErrorDescription but not in between the message itself. Any thoughts would be appreciated.
Thanks,
Subah.