Log printouts reworked