Decouple logging flag from debug and assert flags

Partially Resolves: COMPMID-4818
Signed-off-by: Ramy Elgammal <ramy.elgammal@arm.com>
Change-Id: I47f2f109e1f2442607bb70a36656c69e853d330e
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6309
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Sheri Zhang <sheri.zhang@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
diff --git a/SConstruct b/SConstruct
index 60d220e..ee8108b 100644
--- a/SConstruct
+++ b/SConstruct
@@ -43,7 +43,7 @@
 vars.AddVariables(
     BoolVariable("debug", "Debug", False),
     BoolVariable("asserts", "Enable asserts (this flag is forced to 1 for debug=1)", False),
-    BoolVariable("logging", "Logging (this flag is forced to 1 for debug=1)", False),
+    BoolVariable("logging", "Enable Logging", False),
     EnumVariable("arch", "Target Architecture", "armv7a",
                   allowed_values=("armv7a", "armv7a-hf", "arm64-v8a", "arm64-v8.2-a", "arm64-v8.2-a-sve", "arm64-v8.2-a-sve2", "x86_32", "x86_64",
                                   "armv8a", "armv8.2-a", "armv8.2-a-sve", "armv8.6-a", "armv8.6-a-sve", "armv8.6-a-sve2", "armv8r64", "x86")),
@@ -381,7 +381,6 @@
 
 if env['debug']:
     env['asserts'] = True
-    env['logging'] = True
     env.Append(CXXFLAGS = ['-O0','-g','-gdwarf-2'])
     env.Append(CPPDEFINES = ['ARM_COMPUTE_DEBUG_ENABLED'])
 else: