I couldn't find rc.conf file. And I added the following. Is this the correct place ? Because I am still not getting the debug printfs.
diff --git a/testsuite/include/rtems/bsd/test/default-init.h b/testsuite/include/rtems/bsd/test/default-init.h index ab2ab3a..873c01a 100644 --- a/testsuite/include/rtems/bsd/test/default-init.h +++ b/testsuite/include/rtems/bsd/test/default-init.h @@ -39,6 +39,7 @@ rtems_task Init( { rtems_status_code sc; + rtems_bsd_setlogpriority("debug"); puts( "*** " TEST_NAME " TEST ***" ); /* On Tue, Jul 5, 2016 at 1:52 PM, Chris Johns <chr...@rtems.org> wrote: > On 05/07/2016 16:54, Deval Shah wrote: > >> 1. I updated the rtems-libbsd to the latest version, and it looks like >> all the device_printf are closed in one of the update. I am not able to >> see any log coming from them. Is there any way to switch that on ? >> > > You can either add: > > syslog_priority="debug" > > to your rc.conf file or add a call in your init() to: > > rtems_bsd_setlogpriority("debug"); > > The default state of debug is only suitable for developers and not users. > As a result I have changed the default to suite users. Developers just need > to enable a suitable priority. > > Chris >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel