Fixed issue where stack logging is incorrectly enabled in release mode.
authorJoseph Morrow <joseph.l.morrow@intel.com>
Fri, 29 May 2015 22:30:57 +0000 (18:30 -0400)
committerErich Keane <erich.keane@intel.com>
Sat, 30 May 2015 00:19:01 +0000 (00:19 +0000)
This will ensure that release mode applications & tests will not
log out extranneous messages that should only be printed in debug
mode.

Change-Id: Id66c2f511e8b31ea58cfb1e41a26c6b83daac3a1
Signed-off-by: Joseph Morrow <joseph.l.morrow@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1156
Reviewed-by: Erich Keane <erich.keane@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
build_common/SConscript

index 88b39fb..2120653 100644 (file)
@@ -58,7 +58,7 @@ if ARGUMENTS.get('TEST'):
        logging_default = False
 else:
        release_mode = False
-       if ARGUMENTS.get('RELEASE', True) in ['y', 'yes', 'true', 't', '1', 'on', 'all']:
+       if ARGUMENTS.get('RELEASE', True) in ['y', 'yes', 'true', 't', '1', 'on', 'all', True]:
                release_mode = True
        logging_default = (release_mode == False)