BACKUP LOG WITH TRUNCATE_ONLY
GO
DBCC SHRINKFILE('LogFile', 100)
But i have a suggestion on your code, size your log adequately to restrict frequent auto growth of your log file as frequent auto growth results in performance overhead.
No one has followed this question yet.