diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-06-11 15:42:55 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-06-11 15:42:55 -0400 |
commit | a87c609beb6aef9b584c7ff638cdffe7e3637e97 (patch) | |
tree | 2f9175f2f3832a9a2eb28fc10876472e719a1a9b /docs/doxygen/other | |
parent | e2285793a5a9f5195eb77318452fc2aca95878ec (diff) |
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.
Diffstat (limited to 'docs/doxygen/other')
-rw-r--r-- | docs/doxygen/other/main_page.dox | 2 |
1 files changed, 1 insertions, 1 deletions
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 |