there are a couple of ways.
i prefer a GUI interface, so i use SQL Management Studio. Shrinking the log files is just a matter of right clicking on the database, and selecting Tasks->Shrink.
you can also do this by using T-SQL
http://support.microsoft.com/kb/907511