How do I log all details from a job step to a file?

I have a SQL Server 2005 job that is failing at times. The data in the job history is truncated and doesn't give me enough information to debug things. How can I get the entire error message logged to a file?

more ▼

asked Feb 19, 2010 at 01:52 PM in Default

Steve Jones - Editor gravatar image

Steve Jones - Editor ♦♦
5.1k 78 79 82

(comments are locked)
10|1200 characters needed characters left

1 answer: sort newest
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Feb 19, 2010 at 01:52 PM

Seen: 1192 times

Last Updated: Feb 19, 2010 at 01:52 PM