Below is some code I use in a maintenance place to truncate all transaction logs, which works well...
Separate names with a comma.