Fix unevaluated expressions due to logging threshold
polish
Merge pull request #4 from lev-kuznetsov/master

Log evaluation fix