remove warning in logging. the logger logs to an undefined location at that point