This piece of code will truncate the log file size for all the databases in a SQL Server. It has been tested against SQL 2000 and 2005