summaryrefslogtreecommitdiff
path: root/org.tizen.common.sdblib
diff options
context:
space:
mode:
authorTaeyoung Son <taeyoung2.son@samsung.com>2013-12-10 12:13:21 +0900
committerTaeyoung Son <taeyoung2.son@samsung.com>2013-12-10 12:21:55 +0900
commitbe121622b955355fe24234766023ae55a061f5c1 (patch)
tree3fb94100633bfc9b1876cbef5ecee032edff6b8e /org.tizen.common.sdblib
parent542d9471bb1f89434b61a2d05061c85247b80736 (diff)
downloadcommon-eplugin-be121622b955355fe24234766023ae55a061f5c1.tar.gz
common-eplugin-be121622b955355fe24234766023ae55a061f5c1.tar.bz2
common-eplugin-be121622b955355fe24234766023ae55a061f5c1.zip
LAUNCH: Fixed bug in Application Monitor.
Application Monitor write many logs to sdblib's log file. So I fixed it. Change-Id: Iad5f8c6e68a5acfd09b9e7c30a367de78b4a73cf Signed-off-by: Taeyoung Son <taeyoung2.son@samsung.com>
Diffstat (limited to 'org.tizen.common.sdblib')
-rw-r--r--org.tizen.common.sdblib/src/org/tizen/sdblib/app/ApplicationMonitor.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/org.tizen.common.sdblib/src/org/tizen/sdblib/app/ApplicationMonitor.java b/org.tizen.common.sdblib/src/org/tizen/sdblib/app/ApplicationMonitor.java
index 65e4cc6f3..d2767bf13 100644
--- a/org.tizen.common.sdblib/src/org/tizen/sdblib/app/ApplicationMonitor.java
+++ b/org.tizen.common.sdblib/src/org/tizen/sdblib/app/ApplicationMonitor.java
@@ -36,7 +36,6 @@ import org.tizen.sdblib.daemon.AbstractServer;
import org.tizen.sdblib.receiver.PsInfo;
import org.tizen.sdblib.receiver.PsReceiver;
import org.tizen.sdblib.util.ArrayUtil;
-import org.tizen.sdblib.util.Log;
/**
* Monitor applications.
@@ -45,8 +44,6 @@ import org.tizen.sdblib.util.Log;
*
*/
public class ApplicationMonitor extends AbstractServer {
- private static final String loggerTag = "ApplicationMonitor";
-
/**
* Manages each device's {@link PsInfo} list.
*/
@@ -63,7 +60,7 @@ public class ApplicationMonitor extends AbstractServer {
IApplication[] apps = getMonitoringApplications();
this.psInfoMap = getPsInfoMap(getDevices(apps));
if (psInfoMap == null) {
- Log.e(loggerTag, "process information's list is null.");
+ // Do not print log. It will be filled hard disk's capacity.
return;
}
@@ -82,14 +79,14 @@ public class ApplicationMonitor extends AbstractServer {
fireDetected(app);
}
} catch (ApplicationCheckException e) {
- Log.e(loggerTag, e);
+ // Do not print log. It will be filled hard disk's capacity.
continue;
}
}
try {
Thread.sleep(500);
} catch (InterruptedException e) {
- Log.e(loggerTag, "Sleep failed.");
+ // Do not print log. It will be filled hard disk's capacity.
}
}