Improved some default executor log messages. Review: https://reviews.apache.org/r/65549/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2459ea1b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2459ea1b Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/2459ea1b Branch: refs/heads/1.5.x Commit: 2459ea1b5707f27e0118b4fbb3810399beafbc79 Parents: 5c6e757 Author: Gaston Kleiman <gas...@mesosphere.io> Authored: Wed Feb 14 14:34:56 2018 +0800 Committer: Qian Zhang <zhq527...@gmail.com> Committed: Wed Feb 14 20:58:10 2018 +0800 ---------------------------------------------------------------------- src/launcher/default_executor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/2459ea1b/src/launcher/default_executor.cpp ---------------------------------------------------------------------- diff --git a/src/launcher/default_executor.cpp b/src/launcher/default_executor.cpp index 6c88de4..9aab90d 100644 --- a/src/launcher/default_executor.cpp +++ b/src/launcher/default_executor.cpp @@ -357,7 +357,7 @@ protected: const Future<Connection>& connection) { if (shuttingDown) { - LOG(WARNING) << "Ignoring the launch operation as the " + LOG(WARNING) << "Ignoring the launch group operation as the " << "executor is shutting down"; return; } @@ -373,7 +373,7 @@ protected: // It is possible that the agent process failed after the connection was // established. Shutdown the executor if this happens. if (state == DISCONNECTED || state == CONNECTED) { - LOG(ERROR) << "Unable to complete the launch operation " + LOG(ERROR) << "Unable to complete the launch group operation " << "as the executor is in state " << state; _shutdown(); return; @@ -506,7 +506,7 @@ protected: const Future<list<Response>>& responses) { if (shuttingDown) { - LOG(WARNING) << "Ignoring the launch operation as the " + LOG(WARNING) << "Ignoring the launch group operation as the " << "executor is shutting down"; return; }