discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Logging question


From: Volker Schroer
Subject: Logging question
Date: Mon, 24 Apr 2023 12:39:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

Hi,

I'm trying to understand gnuradio's logging.
So I setup a simple flowgraph
signal_source -> throttle-> add const-> time_sink.

To enable debug logging I have to set

[log]
debug_file = stderr
debug_level = debug
log_file = stdout
log_level = debug

in ~/.gnuradio/config.conf

or in $CMAKE_INSTALL_PREFIX/etc/gnuradio/conf.d/gnuradio-runtime.conf

I have to set both debug_level and log_level to debug, to get a debug
log. What's the difference between log_level and debug_level? I can
redirect the output to a file, but only by setting log_file = {filename}.
Setting debug_file to a filename changes nothing.

To restrict the debug output to one block I tried to set the log_level
to info and called set_log_level('debug') for this block and verifying
this setting by log_level(). But it seems that this setting has no
influence.

What am I doing wrong ?

-- Volker



reply via email to

[Prev in Thread] Current Thread [Next in Thread]