problem with logger