mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Rouesnel <>
Subject Re: Review Request 51257: Add external process container logger.
Date Mon, 13 Feb 2017 22:41:27 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Feb. 13, 2017, 10:41 p.m.)

Review request for mesos and Joseph Wu.


Rebased on top of master. Added support for the new, optional USER attribute (by default shows,
if set as, as MESOS_LOG_USER to subprocess environment).

Bugs: MESOS-6003

Repository: mesos


Adds the external process container logger. This functions like the
logrotate container logger, but instead calls a custom host binary
(or script) and passes the executorInfo as JSON via environment
variables. This makes it very easy for users to configure custom
logging solutions, without needing to write and maintain logging

Tests passing and complete.

Diffs (updated)

  src/ c21a073bdbefbb4547e45ed13b7a8a563854fd82 
  src/slave/container_loggers/lib_externallogger.hpp PRE-CREATION 
  src/slave/container_loggers/lib_externallogger.cpp PRE-CREATION 
  src/tests/ PRE-CREATION 
  src/tests/container_logger_tests.cpp 589d6a9df7ce964052355be41597ef11677ca03d 
  src/tests/module.hpp e661d95fa44fc1aedfe83c564c826d5b7d32c85b 
  src/tests/module.cpp 5b83fd6358ddea4c9d849b8992e1a6040ef74505 



Adds ContainerLoggerTest.EXTERNAL_RecieveEnvironment which tests all major parameters of the

A synthetic external container logger is provided by the script tests/
which is setup to fail if any important output is unavailable to the logging process. 

The other basic checks are duplicated from the Logrotate container logger, from where this
change inherits a lot of its code.


Will Rouesnel

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