retransform println to logger for more detailed info