Skip to content
Snippets Groups Projects
Commit 490019ae authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Change automatic log levels to Warning if release, and Info otherwise

parent 19bd1fbf
No related branches found
No related tags found
No related merge requests found
Pipeline #58876 passed
......@@ -57,7 +57,7 @@ conf_data.set('EMPER_DEFAULT_SCHEDULING_STRATEGY_' + default_scheduling_strategy
log_level = get_option('log_level')
if log_level == 'automatic'
# output only error messages in release builds
log_level = get_option('buildtype') == 'release' ? 'Error' : 'ALL'
log_level = get_option('buildtype') == 'release' ? 'Warning' : 'Info'
# turn logging of during compilation
elif log_level == 'OFF'
conf_data.set('EMPER_LOG_OFF', true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment