custom log handling, lint errors