The following article gives some background on how to stop the transaction log from growing
Using the steps below one can shrink the transaction log.
Use TestDB
SELECT file_id, name FROM sys.database_files
GO
file_id name
1 TestDB
2 TestDB_log
DBCC SHRINKFILE (‘TestDB_log’, 2)
GO
BACKUP LOG TestDB WITH TRUNCATE_ONLY
GO
DBCC SHRINKFILE (‘TestDB_log’, 2)
GO