Update Readme.scons for LOG_LEVEL build option
authorjihwan.seo <jihwan.seo@samsung.com>
Wed, 15 Mar 2017 10:29:26 +0000 (19:29 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Mon, 20 Mar 2017 06:14:28 +0000 (06:14 +0000)
Change-Id: I07b98f7bb0e89addf9fafa496aea78061085707d
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17935
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Readme.scons.txt

index 7deaf4a..3f367c8 100644 (file)
@@ -31,7 +31,7 @@ message to install tinycbor)
 ('<iotivity>' is the path to 'iotivity' project. If your device is x86, arm,
 or arm64, please change 'x86_64' to the proper arch)
 
-3. To build and test IoTivity with Security enabled (required for certification) 
+3. To build and test IoTivity with Security enabled (required for certification)
 follow the instructions found in:
   <iotivity>/resource/csdk/security/README-building-and-running-secure-IoTivity-stack.txt
 
@@ -286,6 +286,13 @@ See run.bat for more example usage parameters
  * SIMULATOR=true or false (Build with simulator module)
  * Possible values for <WITH_MQ> are: PUB,SUB,BROKER (Build including Message Queue)
    -> PUB : publisher, SUB : subscriber, BROKER : MQ broker(not supported yet)
+ * LOG_LEVEL=DEBUG or INFO or WARNING or ERROR or FATAL
+   (select log level to print, LOGGING option should be true)
+    ex) LOG_LEVEL=DEBUG : All logs including DEBUG, INFO, WARNING, ERROR, FATAL level is printed.
+        LOG_LEVEL=INFO : The logs including INFO, WARNING, ERROR, FATAL level is printed.
+        LOG_LEVEL=WARNING : The logs including WARNING, ERROR, FATAL level is printed.
+        LOG_LEVEL=ERROR : The logs including ERROR, FATAL level is printed.
+        LOG_LEVEL=FATAL : FATAL level is printed.
 
 Note:
 1) for convenience, a script (auto_build.sh) is provided to run possible build