Commit 804afb15 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk Committed by Adam Wujek

wrs_watchdog: cleanup in log messages - levels and content

parent b0e47d8a
......@@ -238,7 +238,7 @@ void endless_watchdog(void)
/* handle reset if needed */
if (rst) {
pr_warning("SWCore stuck... resetting\n");
pr_warning("Switching core stuck... resetting\n");
force_rst();
clear_stuck(stuck_cnt);
}
......@@ -297,7 +297,7 @@ int main(int argc, char *argv[])
pr_info("Read %d ports from cmdline\n", port_num);
break;
case 'p':
pr_info("use pidfile %s", optarg);
pr_debug("use pidfile %s", optarg);
write_pidfile(optarg, getpid());
break;
case 'q': break; /* done in wrs_msg_init() */
......@@ -320,7 +320,7 @@ int main(int argc, char *argv[])
}
if (daemon_mode) {
wrs_msg(LOG_ALERT, "wrs_watchdog. Commit %s, built on "
pr_info("wrs_watchdog. Commit %s, built on "
__DATE__ "\n", __GIT_VER__);
pr_info("Demonize\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment