Use the below code to shrink the log file for your database
USE MASTER
GO
ALTER DATABASE DB_Name SET RECOVERY SIMPLE
GO
USE DB_Name
GO
DBCC SHRINKFILE (DB_Name_log, 1)
GO
ALTER DATABASE DB_Name SET RECOVERY FULL
GO
SQL 2008 returns a table of shrinkfile related results plus the following confirmation:
(1 row(s) affected)
DBCC execution completed. If DBCC printed error
messages, contact your system administrator.