mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhitao Li <zhitaoli...@gmail.com>
Subject Choice between LOG(FATAL) and EXIT(EXIT_FAILURE)
Date Tue, 30 Aug 2016 17:42:44 GMT
Hi,

Can someone explain better about when we should use LOG(FATAL) and when
EXIT(EXIT_FAILURE) in Mesos codebase?

One thing is that EXIT(EXIT_FAILURE) does not seem to leave anything in the
level separated GLOG files so it could be mysterious to people who relies
on that for debugging issues.

I see we have about 100 call sites to LOG(FATAL) and 200 call sites
to EXIT(EXIT_FAILURE) at the moment.

Many thanks!

-- 
Cheers,

Zhitao Li

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message