Prints a brief logout message (process name, date, and time) or a full logout message (a brief message plus accounting statistics).