Check detects local logger variables, exceptions that was created locally and based on given exception.