How Do You Get Spam Out of a Traffic Log?

The novelty of spam in my traffic log has worn off.
How does one stop that sort of abuse? In the past week, has shown up more than 9 times as a referrer. Bless his little abusive heart, i don't need it.

Same with and

How are other people dealing with this sort of nonsense?

Technorati Tags: