Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
None
Description
EXIT() prints a log message but doesn't include a timestamp, and is otherwise inconsistent with the format of other log messages. EXIT() might be called during normal operational circumstances (e.g., during a network partition), so a timestamp would be useful to aid analysis.
We could use LOG(FATAL), but apparently this dumps a backtrace, which is probably not warranted.
How about EXIT() does LOG(ERROR), then calls exit() as it does now?
Attachments
Issue Links
- duplicates
-
MESOS-7115 Agent should prefer LOG(FATAL) over EXIT().
- Resolved