Le 09/04/2018 à 23:20, Martin Braun via USRP-users a écrit :
> 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.
This is strange: I have no such environment variable. If I set it to another 
value (like
/tmp/uhd2.log) -> uhd.log is created.
No effects if I change UHD_LOG_LEVEL too.

It seems that another layer defines these variable ...
For your information, I run my system on Linux fedora 27

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


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

Reply via email to