Subj : Is std::cerr thread safe To : comp.programming.threads From : nin234 Date : Wed Jul 20 2005 12:30 pm I was under the impression that std::cerr, cout etc were multi thread safe. I recently changed the logging utility of our product ( a daemon running on linux (RHEL) to use std::cerr instead of printf and it produces garbled output to the log file. What is the best approach to make it thread safe? Should I use some sort of wrapper class? Regards Ninan .