If what you want to do is simply shrink an oversized log file as much as possible, here's what I do:
1) Run a full databases backup
2) Run a transaction log backup (if the DB is Full Recovery Model)
3) Run DBCC SHRINKFILE('logical_log_file_name',1)
This will remove the data from the log file that is no longer needed.
Dan