diff options
author | GENIVI Audio Manager Maintainer <genivi-maint-audiomanager@smtp1.genivi.org> | 2017-11-07 12:58:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-07 12:58:11 +0100 |
commit | d244e592eb11b0d46558da129774fe1c79c45f2b (patch) | |
tree | d72aa2ef57170b74221c137b258eeead5b8378c7 /AudioManagerUtilities/include/CAmDltWrapper.h | |
parent | f620be8a774f966fbd76ca8892a39ce28037a213 (diff) | |
parent | 4090fe1d40c978d8c8cbc6a156dbfa664305163e (diff) | |
download | audiomanager-d244e592eb11b0d46558da129774fe1c79c45f2b.tar.gz |
Merge pull request #19 from JensLorenz/socket_hndl_utility_fix
Different Issues Fixed
Diffstat (limited to 'AudioManagerUtilities/include/CAmDltWrapper.h')
-rw-r--r-- | AudioManagerUtilities/include/CAmDltWrapper.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/AudioManagerUtilities/include/CAmDltWrapper.h b/AudioManagerUtilities/include/CAmDltWrapper.h index 8c5678e..79df911 100644 --- a/AudioManagerUtilities/include/CAmDltWrapper.h +++ b/AudioManagerUtilities/include/CAmDltWrapper.h @@ -162,11 +162,14 @@ public: { #ifdef WITH_DLT #ifdef DLT_IS_LOG_LEVEL_ENABLED - return (dlt_user_is_logLevel_enabled(&mDltContext, logLevel) == DLT_RETURN_TRUE); + if (mlogDestination == logDestination::DAEMON) + { + return (dlt_user_is_logLevel_enabled(&mDltContext, logLevel) == DLT_RETURN_TRUE); + } #else (void)logLevel; - return true; #endif + return true; #else return (logLevel <= mDltContext.log_level_user); #endif |