• In that case you could use sp_who2 to log to a table in a job.

    Or you could do a server side trace as Gail suggested.