This command is wrong 'DBCC SHRINKFILE(dbName_Log, 1)' The number 1 should be desired MB the file should be after the schrink operation.
You can use this for both mdf and ldf files.
so use 'DBCC SHRINKFILE(dbName, DesiredSizeForMDFFileInMB)'
and
'DBCC SHRINKFILE(dbName_Log, DesiredSizeForLDFFileInMB)'
//Marten