Contrary to popular belief this has nothing to do with Canada or lumberjacks. Should be used when you're trying to compliment or insult someone.
I don't know what 'earn the flannel' means, but Jeff said that to me and I have mixed feelings about it.