osaf/libs/core/leap/os_defs.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Use INFO level syslog priority when we are unable to set real-time scheduling
priority. Otherwise syslog can be filled up with warning messages e.g. if an
opensaf command-line tool is used many times.

diff --git a/osaf/libs/core/leap/os_defs.c b/osaf/libs/core/leap/os_defs.c
--- a/osaf/libs/core/leap/os_defs.c
+++ b/osaf/libs/core/leap/os_defs.c
@@ -224,7 +224,7 @@ unsigned int ncs_os_task(NCS_OS_TASK *ta
                                            (void *(*)(void 
*))task->info.create.i_entry_point,
                                            task->info.create.i_ep_arg);
                        if (rc == EPERM && policy != SCHED_OTHER) {
-                               LOG_WA("pthread_create failed with EPERM, "
+                               LOG_IN("pthread_create failed with EPERM, "
                                        "falling back to SCHED_OTHER policy "
                                        "for %s", task->info.create.i_name);
                                policy = SCHED_OTHER;

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to