Hi Lauro,
it depends how much records you have, it may takea long time.
If so think to do this with SSMS directly, also if you want to delete records (do you need logs older then one month?Image may be NSFW.
Clik here to view.).
Kind regards
Roberto