From a87c609beb6aef9b584c7ff638cdffe7e3637e97 Mon Sep 17 00:00:00 2001 From: Tom Rondeau <trondeau@vt.edu> Date: Mon, 11 Jun 2012 15:42:55 -0400 Subject: log: Restructure config file handling for gr-log. The xml config file is installed into prefix/etc/gnuradio. A new LOG section is added to gnuradio-core.conf that has an item log_file to point to the log file to be used. If the log_file is not found, we can now set the file to "" to use the BasicConfigurator for very simple console logging. This is what will be used during 'make test'. In gr_fir_sysconfig_x86.cc, all std::cerr calls are replaced with gr-log to easily turn them on/off. --- docs/doxygen/other/main_page.dox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/doxygen/other') diff --git a/docs/doxygen/other/main_page.dox b/docs/doxygen/other/main_page.dox index 8f47ed0d74..ec8642de66 100644 --- a/docs/doxygen/other/main_page.dox +++ b/docs/doxygen/other/main_page.dox @@ -86,7 +86,7 @@ default configuration script is located at: In a class, we must first configure the logger and then get access to it: \code - GR_CONFIG_LOGGER("prefix/share/gnuradio/gr_log_default.xml"); + GR_CONFIG_LOGGER("prefix/etc/gnuradio/conf.d/gr_log_default.xml"); GR_LOG_GETLOGGER(LOG, name); \endcode -- cgit v1.2.3