You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by we...@apache.org on 2015/05/20 21:23:41 UTC
incubator-reef git commit: [REEF-342] Lower the log level for
Configuration data at .Net Driver
Repository: incubator-reef
Updated Branches:
refs/heads/master 87c3dfce8 -> 8068dc978
[REEF-342] Lower the log level for Configuration data at .Net Driver
Currently, at .Net side, we log Configuration data before submitting it
to Context at Info level. It is too much for the log. This PR is to
change the log level to Verbose for those logs.
JIRA:
[REEF-342](https://issues.apache.org/jira/browse/REEF-342)
Pull Request:
This closes #191
Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/8068dc97
Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/8068dc97
Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/8068dc97
Branch: refs/heads/master
Commit: 8068dc978e845ddec085a00f9f5db5ea039df3e6
Parents: 87c3dfc
Author: Julia Wang <jw...@yahoo.com>
Authored: Wed May 20 12:03:05 2015 -0700
Committer: Markus Weimer <we...@apache.org>
Committed: Wed May 20 12:21:49 2015 -0700
----------------------------------------------------------------------
.../Bridge/Events/ActiveContext.cs | 2 +-
.../Bridge/Events/AllocatedEvaluator.cs | 16 ++++++++--------
2 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/8068dc97/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/ActiveContext.cs
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/ActiveContext.cs b/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/ActiveContext.cs
index 989483b..917e95a 100644
--- a/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/ActiveContext.cs
+++ b/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/ActiveContext.cs
@@ -90,7 +90,7 @@ namespace Org.Apache.REEF.Driver.Bridge.Events
{
LOGGER.Log(Level.Info, "ActiveContext::SubmitTask");
string task = _serializer.ToString(taskConfiguration);
- LOGGER.Log(Level.Info, "serialized taskConfiguration: " + task);
+ LOGGER.Log(Level.Verbose, "serialized taskConfiguration: " + task);
Clr2Java.SubmitTask(task);
}
http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/8068dc97/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/AllocatedEvaluator.cs
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/AllocatedEvaluator.cs b/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/AllocatedEvaluator.cs
index 3655593..bf17fba 100644
--- a/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/AllocatedEvaluator.cs
+++ b/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/AllocatedEvaluator.cs
@@ -73,7 +73,7 @@ namespace Org.Apache.REEF.Driver.Bridge.Events
{
LOGGER.Log(Level.Info, "AllocatedEvaluator::SubmitContext");
string context = _serializer.ToString(contextConfiguration);
- LOGGER.Log(Level.Info, "serialized contextConfiguration: " + context);
+ LOGGER.Log(Level.Verbose, "serialized contextConfiguration: " + context);
Clr2Java.SubmitContext(context);
}
@@ -86,8 +86,8 @@ namespace Org.Apache.REEF.Driver.Bridge.Events
string context = _serializer.ToString(contextConfiguration);
string task = _serializer.ToString(taskConfiguration);
- LOGGER.Log(Level.Info, "serialized contextConfiguration: " + context);
- LOGGER.Log(Level.Info, "serialized taskConfiguration: " + task);
+ LOGGER.Log(Level.Verbose, "serialized contextConfiguration: " + context);
+ LOGGER.Log(Level.Verbose, "serialized taskConfiguration: " + task);
Clr2Java.SubmitContextAndTask(context, task);
}
@@ -99,8 +99,8 @@ namespace Org.Apache.REEF.Driver.Bridge.Events
string context = _serializer.ToString(contextConfiguration);
string service = _serializer.ToString(serviceConfiguration);
- LOGGER.Log(Level.Info, "serialized contextConfiguration: " + context);
- LOGGER.Log(Level.Info, "serialized serviceConfiguration: " + service);
+ LOGGER.Log(Level.Verbose, "serialized contextConfiguration: " + context);
+ LOGGER.Log(Level.Verbose, "serialized serviceConfiguration: " + service);
Clr2Java.SubmitContextAndService(context, service);
}
@@ -115,9 +115,9 @@ namespace Org.Apache.REEF.Driver.Bridge.Events
string service = _serializer.ToString(serviceConfiguration);
string task = _serializer.ToString(taskConfiguration);
- LOGGER.Log(Level.Info, "serialized contextConfiguration: " + context);
- LOGGER.Log(Level.Info, "serialized serviceConfiguration: " + service);
- LOGGER.Log(Level.Info, "serialized taskConfiguration: " + task);
+ LOGGER.Log(Level.Verbose, "serialized contextConfiguration: " + context);
+ LOGGER.Log(Level.Verbose, "serialized serviceConfiguration: " + service);
+ LOGGER.Log(Level.Verbose, "serialized taskConfiguration: " + task);
Clr2Java.SubmitContextAndServiceAndTask(context, service, task);
}