diff --git a/src/config.cc b/src/config.cc index 16192909c..613c95ea4 100644 --- a/src/config.cc +++ b/src/config.cc @@ -170,7 +170,7 @@ namespace detail { // ------------------------------- CELERITY_LOG_LEVEL --------------------------------- #if defined(CELERITY_DETAIL_ENABLE_DEBUG) - const auto log_lvl = parsed_and_validated_envs.get_or(env_log_level, log_level::debug); + const auto log_lvl = parsed_and_validated_envs.get_or(env_log_level, log_level::trace); #else const auto log_lvl = parsed_and_validated_envs.get_or(env_log_level, log_level::info); #endif @@ -201,7 +201,12 @@ namespace detail { const auto has_dry_run_nodes = parsed_and_validated_envs.get(env_dry_run_nodes); if(has_dry_run_nodes) { m_dry_run_nodes = *has_dry_run_nodes; } +#if defined(CELERITY_DETAIL_ENABLE_DEBUG) + m_recording = parsed_and_validated_envs.get_or(env_recording, true); +#else m_recording = parsed_and_validated_envs.get_or(env_recording, false); +#endif + m_horizon_step = parsed_and_validated_envs.get(env_horizon_step); m_horizon_max_parallelism = parsed_and_validated_envs.get(env_horizon_max_para);