Catches logged by logger