[genivi-dlt] Issue while capturing syslogs in dlt-viewer and also not able to see dlt_log() in the viewer

amber bhardwaj amber.bhardwaj10 at gmail.com
Sat Feb 4 15:06:23 EST 2017


Hi All,

I have built dlt-daemon in my local system and trying to test some of the
feature to understand the working internally.

I tried to many things to redirects the log but not able to do. I also
don't know whom to discussed so i have few queries; can you please help me
out :

               1. Transferring syslogs to dlt-system is an official issue?
I mean to say that any task or bug id is defined for this issue in dlt
public JIRA
<https://at.projects.genivi.org/jira/projects/DLT/issues/DLT-1?filter=
allopenissueshttps://at.projects.genivi.org/jira/projects/DLT/issues/DLT-1?
filter=allopenissues>;
if it is a bug ?

               2. I am using macro interface *DLT_LOG()* and API interface
*dlt_log()* to store the logs. But when i change the log level through
*dlt_log_set_level()* then i am only able to                        filter
logs generated through *dlt_log()*. I am not able to filter logs which are
generated through *DLT_LOG()* macro interface.

               3. If i am logging via API interface using *dlt_log()* then
i am not able to see logs in *dlt_viewer* but if i use *DLT_LOG()* macro
interface for my logging then i can see logs in
*dlt_viewer*. So i have a doubt here that *dlt_log_set_level()* can only
filter the logs which are generated via *dlt_log()* and the macro interface
*DLT_LOG()* is only                                dedicated to *dlt_viewer*
and you can't filter logs generated via macro interface.

If i am wrong somewhere then please guide me.

-- 
Thanks and Regards,

Amber Bhardwaj


*Work:* +91-89 51 188468
*Email:* amber.bhardwaj10 at gmail.com
*Catch me on : *LinkedIn <https://in.linkedin.com/in/amberbhardwaj>



More information about the genivi-diagnostic-log-and-trace mailing list