Skip to content

Commit

Permalink
CART-89 debug: Enable NA logging (#4945)
Browse files Browse the repository at this point in the history
- Enable default NA logging of warnings/errors.

Signed-off-by: Alexander A Oganezov <alexander.a.oganezov@intel.com>
  • Loading branch information
frostedcmos authored Mar 12, 2021
1 parent 91e3375 commit 225c86a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cart/crt_hg.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,10 @@ crt_hg_init(void)
if (!env)
HG_Set_log_level("warning");

env = getenv("HG_NA_LOG_LEVEL");
if (!env)
NA_Set_log_level("warning");

/* import HG log */
hg_log_set_func(crt_hg_log);
hg_log_set_stream_debug((FILE *)(intptr_t)(EXT_FAC | DLOG_DBG));
Expand Down

0 comments on commit 225c86a

Please sign in to comment.