Added missing security check in log tool
Merge pull request #743 from stefk/log-security

Added missing security check in log tool