Working with logger