Output error and warning messages to terminal and log file
Output all Linux error and warning messages to the terminal window and log file.