logging simplification