Logic on not recording low level logs in error logger