better log file formatting