FIX: log spamming
Merge pull request #2646 from koying/fixlogspamming

FIX: log spamming