I query sysmaintplan_logdetail looking for failed maintenance plan tasks. For those that do fail, I display the plan name, task name, etc. The task name has always been in the line1 column. With SQL 2012, the line1 column is empty.
I did some testing and found that when I create a maintenance plan in SSMS 2012 and then execute the plan, the line1 column of sysmaintplan_logdetail is not being populated. If I use SSMS 2008 R2 to create the plan on a SQL 2012 instance, when the plan is executed, line1 is populated with the maint plan task name.
Looking at the package xml, the difference I see is that in the SQL 2008 generated xml, the task name is populated but the SQL 2012 xml does not.
SQL 2008 generated xml (look for TaskName tag in SQLTaskData line)
<DTS:ObjectData><SQLTask:SqlTaskData xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" SQLTask:Connection="{49D95975-C5C4-45E8-8C94-8E34BAEBDB16}" SQLTask:DatabaseSelectionType="2" SQLTask:ServerVersion="11" SQLTask:ExtendedLogging="True" SQLTask:LocalConnectionForLogging="Local server connection" SQLTask:TaskName="Check Database Integrity Task" SQLTask:IgnoreDatabasesInNotOnlineState="True" SQLTask:IncludeIndexes="True"><SQLTask:SelectedDatabases SQLTask:DatabaseName="master" /><SQLTask:SelectedDatabases SQLTask:DatabaseName="model" /><SQLTask:SelectedDatabases SQLTask:DatabaseName="msdb" /></SQLTask:SqlTaskData></DTS:ObjectData>
SQL 2012 generated xml
<DTS:ObjectData><SQLTask:SqlTaskData xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" SQLTask:Connection="{90D0FD7E-5D34-4E63-A3A9-E0955FA225A9}" SQLTask:DatabaseSelectionType="2" SQLTask:ServerVersion="11" SQLTask:ExtendedLogging="True" SQLTask:LocalConnectionForLogging="Local server connection" SQLTask:TaskName="" SQLTask:IgnoreDatabasesInNotOnlineState="True" SQLTask:IncludeIndexes="True"><SQLTask:SelectedDatabases SQLTask:DatabaseName="master" /><SQLTask:SelectedDatabases SQLTask:DatabaseName="model" /><SQLTask:SelectedDatabases SQLTask:DatabaseName="msdb" /></SQLTask:SqlTaskData></DTS:ObjectData>