From 437084c4ab0f649215abfbedcb38caeb56bdf3b8 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Thu, 4 Jul 2013 16:29:44 +0200 Subject: libutils: get ride of debug trace file errors put them as warning only... Change-Id: Idbdddbc83833c938288da6b7a68fb3539d139538 --- libs/utils/Trace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/utils/Trace.cpp b/libs/utils/Trace.cpp index f5aaea3..5e005d3 100644 --- a/libs/utils/Trace.cpp +++ b/libs/utils/Trace.cpp @@ -45,7 +45,7 @@ void Tracer::init() { "/sys/kernel/debug/tracing/trace_marker"; sTraceFD = open(traceFileName, O_WRONLY); if (sTraceFD == -1) { - ALOGE("error opening trace file: %s (%d)", strerror(errno), errno); + ALOGW("error opening trace file: %s (%d)", strerror(errno), errno); sEnabledTags = 0; // no tracing can occur } else { loadSystemProperty(); -- cgit v1.1