On 04/09/2018 07:35 AM, Matis Alun via USRP-users wrote:
> Hi everybody,
> 
> I saw that a /tmp/uhd.log is created when running a sampling program and it 
> is becoming
> very large
> if the program runs during a long time.
> How can we disable the logging messages ?
> 
> I tried to set the environment variable UHD_LOG_LEVEL or the pre-processor 
> -DUHD_LOG_LEVEL
> directive
> without any effect. Should I recompile all the UHD library with this flag ?
> 
> I am using actually UHD 3.010.003.

Matis,

in order to enable file logging, you need UHD_LOG_FILE set. If you don't
have the environment variable UHD_LOG_FILE set, you shouldn't be seeing
a log file being generated.

-- M

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to