Log Custom SQL Results During Maintenance Plan
You can use a mixture of xp_cmdshell and bcp:

exec xp_cmdshell 
    'bcp "SELECT * FROM YourTable ...." queryout Log.txt -c -T'


The above extended stored procedure bcp call assumes a few things, such as a trusted connection.  But utilize the BOL Reference for BCP to fine tune your call.