summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLLifecycleConfiguration.m
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-09-01 14:50:57 -0400
committerJoel Fischer <joeljfischer@gmail.com>2016-09-01 14:50:57 -0400
commite4e6e43b4df467205bb3cb43d9f663f80f6ba3ea (patch)
tree846d35abb6279c3d44c09f8a783e5e9a15af149a /SmartDeviceLink/SDLLifecycleConfiguration.m
parent62ea8fb5d18830fe71c4e06b57c855f5c7da1da2 (diff)
downloadsdl_ios-e4e6e43b4df467205bb3cb43d9f663f80f6ba3ea.tar.gz
Debug logs are on by default only on debug configurations, they are now off on production configs
Diffstat (limited to 'SmartDeviceLink/SDLLifecycleConfiguration.m')
-rw-r--r--SmartDeviceLink/SDLLifecycleConfiguration.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLLifecycleConfiguration.m b/SmartDeviceLink/SDLLifecycleConfiguration.m
index e537a775d..cbc32d648 100644
--- a/SmartDeviceLink/SDLLifecycleConfiguration.m
+++ b/SmartDeviceLink/SDLLifecycleConfiguration.m
@@ -51,7 +51,7 @@ NS_ASSUME_NONNULL_BEGIN
_shortAppName = nil;
_ttsName = nil;
_voiceRecognitionCommandNames = nil;
- _logFlags = SDLLogOutputConsole;
+ _logFlags = SDLLogOutputNone;
return self;
}
@@ -65,6 +65,8 @@ NS_ASSUME_NONNULL_BEGIN
config.tcpDebugMode = YES;
config.tcpDebugIPAddress = ipAddress;
config.tcpDebugPort = port;
+
+ config.logFlags = SDLLogOutputConsole;
return config;
}