better output for log