Fixed logging error
Merge pull request #490 from dswd/fix

Fixed logging error