working with logging issues