Made logger less dumb. Guess I broke it somehow though