To shrink the SQL Server log files without shrinking the database can be achieved using the SQL Server Management Studio.
In this scenario I had a SharePoint environment that had a very large 165GB log file (.LDF) that I wanted to trim and reduce in size. My first task was to back up the transaction logs for disaster recovery.
TRANSACTION LOG FILE BACKUP PROCESS
SHRINK LOG PROCESS
Make certain to choose Log from the File Type: dropdown menu and your Shrink action.
After selecting OK your SQL transaction log file should be released or reduced to a minimum size.