Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3654c7f4 authored by Myles Watson's avatar Myles Watson Committed by Gerrit Code Review
Browse files

Revert "log: Change default log level to DEBUG"

This reverts commit d6f0b5a9.

Reason for revert: Debug logs should default to not printed.

Change-Id: I7647620885582584498a6ef0e9ccb3f020437aa6
parent d6f0b5a9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,8 +29,8 @@ static constexpr size_t kBufferSize = 1024;
void vlog(Level level, char const* tag, source_location location,
          fmt::string_view fmt, fmt::format_args vargs) {
  // Check if log is enabled.
  if (!__android_log_is_loggable(level, tag, ANDROID_LOG_DEBUG) &&
      !__android_log_is_loggable(level, "bluetooth", ANDROID_LOG_DEBUG)) {
  if (!__android_log_is_loggable(level, tag, ANDROID_LOG_INFO) &&
      !__android_log_is_loggable(level, "bluetooth", ANDROID_LOG_INFO)) {
    return;
  }