Added SQL Server logging support.