diff --git a/userspace/wrsw_hal/hal_exports.c b/userspace/wrsw_hal/hal_exports.c index 61daea14f15f2e04e979245d030fc0061b82285a..359988084fb98587ad3b1b95ca274ba077972466 100644 --- a/userspace/wrsw_hal/hal_exports.c +++ b/userspace/wrsw_hal/hal_exports.c @@ -229,7 +229,7 @@ int hal_check_running() struct wrs_shm_head *hal_head; hal_head = wrs_shm_get(wrs_shm_hal, "", WRS_SHM_READ); if (!hal_head) { - pr_info("Unable to open shm for HAL! Unable to check if there " + pr_error("Unable to open shm for HAL! Unable to check if there " "is another HAL instance running. Error: %s\n", strerror(errno)); exit(-1); diff --git a/userspace/wrsw_hal/hal_main.c b/userspace/wrsw_hal/hal_main.c index ebe0c5988f12b12ef3548eda6518f335944f7ffb..cfe7c851f91031bdff682a71b7e327a2c6b2ef76 100644 --- a/userspace/wrsw_hal/hal_main.c +++ b/userspace/wrsw_hal/hal_main.c @@ -50,7 +50,7 @@ static void call_cleanup_cbs(void) { int i; - pr_info("Cleaning up...\n"); + pr_debug("Cleaning up...\n"); for (i = 0; i < MAX_CLEANUP_CALLBACKS; i++) if (cleanup_cb[i]) cleanup_cb[i] (); @@ -82,7 +82,7 @@ static int hal_init(void) //trace_log_stderr(); int line; - pr_info("initializing...\n"); + pr_debug("initializing...\n"); memset(cleanup_cb, 0, sizeof(cleanup_cb)); @@ -220,8 +220,7 @@ int main(int argc, char *argv[]) wrs_msg_init(argc, argv); /* Print HAL's version */ - wrs_msg(LOG_ALERT, "wrsw_hal. Commit %s, built on " __DATE__ "\n", - __GIT_VER__); + pr_info("wrsw_hal. Commit %s, built on " __DATE__ "\n", __GIT_VER__); /* Prevent from running HAL twice - it will likely freeze the system */ if (hal_check_running()) { diff --git a/userspace/wrsw_hal/hal_ports.c b/userspace/wrsw_hal/hal_ports.c index a5a9ff39454245615dce056c77678426a00b9ed2..9b46f629cdff51f9a611b0efe747a668da477d0d 100644 --- a/userspace/wrsw_hal/hal_ports.c +++ b/userspace/wrsw_hal/hal_ports.c @@ -161,7 +161,7 @@ static int hal_port_init(int index) pr_error("port index %i (%s): invalid role " "\"%s\" specified\n", index, name, s); - pr_info("Port %s: mode %i\n", p->name, val); + pr_debug("Port %s: mode %i\n", p->name, val); } /* Get fiber type */ @@ -553,7 +553,7 @@ static void hal_port_poll_sfp(void) if (ports[i].in_use && (mask ^ old_mask) & (1 << hw_index)) { int insert = mask & (1 << hw_index); - pr_info("Detected SFP %s " + pr_info("SFP Info: Detected SFP %s " "on port %s.\n", insert ? "insertion" : "removal", ports[i].name);