Skip to content
This repository was archived by the owner on Dec 26, 2022. It is now read-only.

Commit df2eecf

Browse files
committed
fix: Change the logger level from warning to info
The logger level of some of the message in `main.c` should not be warning level.
1 parent b933764 commit df2eecf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

accelerator/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ int main(int argc, char* argv[]) {
7474
goto cleanup;
7575
}
7676

77-
log_warning(logger_id, "Tangle-accelerator starts running\n");
77+
log_info(logger_id, "Tangle-accelerator starts running\n");
7878

7979
/* pause() cause TA to sleep until it catch a signal,
8080
* also the return value and errno should be -1 and EINTR on success.
@@ -86,12 +86,12 @@ int main(int argc, char* argv[]) {
8686
}
8787

8888
cleanup:
89-
log_warning(logger_id, "Destroying API lock\n");
89+
log_info(logger_id, "Destroying API lock\n");
9090
if (apis_lock_destroy() != SC_OK) {
9191
ta_log_error("Destroying api lock failed %s.\n", MAIN_LOGGER);
9292
return EXIT_FAILURE;
9393
}
94-
log_warning(logger_id, "Destroying TA configurations\n");
94+
log_info(logger_id, "Destroying TA configurations\n");
9595
ta_core_destroy(&ta_core);
9696

9797
if (verbose_mode) {

0 commit comments

Comments
 (0)