Error with logging. Brainstorm time