Change release mode log level to warning 78/287378/1
authorTomasz Swierczek <t.swierczek@samsung.com>
Fri, 27 Jan 2023 09:55:09 +0000 (10:55 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Fri, 27 Jan 2023 09:55:09 +0000 (10:55 +0100)
Debug logs are clearly only for debug mode, but warnings
can be helpful in release mode (VD request).

Change-Id: I86b390fe2838aec3b793ca4bf9b274554a8e6d78

src/common/log/log.cpp

index 7758389d6ce2c8f106211e2aabb41a2f27c481e8..7d3a31f1727686e54921a67baea6554fda8243cf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2014-2022 Samsung Electronics Co., Ltd All Rights Reserved
  *
  * Contact: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
  *
@@ -36,7 +36,7 @@
 #ifdef BUILD_TYPE_DEBUG
 int __log_level = LOG_DEBUG;
 #else
-int __log_level = LOG_ERR;
+int __log_level = LOG_WARNING;
 #endif
 
 static int strlog2intlog(const char *strlog) {