I need SQL code to identify the text log file associated with a specific instance of a failed job. I have code that I use as the last step in a job that gets the SQL Server error information that is available, in place of the default failure email, but can't figure out how to identify and attach a specific task log file from the log directory.