Benjamin Bannier created MESOS-4001:
---------------------------------------

             Summary: Revisit usage of raw cout and cerr
                 Key: MESOS-4001
                 URL: https://issues.apache.org/jira/browse/MESOS-4001
             Project: Mesos
          Issue Type: Improvement
            Reporter: Benjamin Bannier
            Priority: Minor


In many instances in mesos and libprocess raw {{std::cout}} and {{std::cerr}} 
is used. This leads to inconsistent logging style, and e.g., missing time 
stamps in log output which can make debugging harder.

Only a few really do need out-of-band logging, since they e.g., display help 
strings.

We should revisit these sites and whenever possible replace with appropriate 
logging macros ({{LOG(\[INFO, WARNING], ..)}}.

Note: ATM none of this applies to code in {{stout}} where we cannot assume that 
glog is available.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to