[TASK] Removed obsolete require statement
[TASK] Fixed typo in var annotation
[TASK] Improved escaping of log data