On Fri, 30 Aug 2013 00:33:49 +0000 "Li, Hao H" <hao.h...@intel.com> said:

> Hi, Jimmy
> 
> I tried Export EINA_LOG_LEVELS=dialer:4 or Export EINA_LOG_LEVELS=dialer:5
> And then launch_app org.tizen.dialer
> 
> In dialer/main.c, there is INF("Entering main loop"); while I can't see the
> log from terminal or dlogutil about it. Do you know how and where I can see
> the log?

i suspect launch_app is not passing n your environment to the app... basically
that doesnt launch the app.. it messages another process to do the launch.. you
will have to run the binary directly, or get that env var into the system as a
whole so the app lancher daemon gets the env.

> Thanks!
> 
> 
> -----Original Message-----
> From: Huang, Jimmy 
> Sent: Friday, August 30, 2013 4:12 AM
> To: Lynch, Rusty; Li, Hao H
> Cc: general@lists.tizen.org; i...@lists.tizen.org
> Subject: RE: [Tizen General] Question about the log of launch_app
> org.tizen.dialer on Tizen IVI
> 
> I think you need to set the EINA_LOG_LEVEL, This is what I used to enable
> logging
> 
> Export EINA_LOG_LEVELS=dialer:4
> 
> Jimmy
> 
> -----Original Message-----
> From: Lynch, Rusty
> Sent: Wednesday, August 28, 2013 2:24 PM
> To: Li, Hao H
> Cc: general@lists.tizen.org; i...@lists.tizen.org; Huang, Jimmy
> Subject: Re: [Tizen General] Question about the log of launch_app
> org.tizen.dialer on Tizen IVI
> 
> That's all that is required.  If you don't see anything then the app isn't
> logging anything.
> 
> Of course we can directly ask the maintainer to be sure... Jimmy?
> 
>     --rusty
> 
> On Tue, 2013-08-27 at 20:11 -0700, Li, Hao H wrote:
> > I tried chmod 666 /dev/log*, but in dlog util, when running launch_app
> > org.tizen.dialer, I only can see the log relate to launch_app like "
> > D/AUL     (  356): launch.c: app_request_to_launchpad(240) > launch request
> > result : -1" etc.
> > 
> > If I want to see the log inside org.tizen.dialer
> > (/usr/apps/org.tizen.dialer/bin/dialer), is there any way to see it?
> > 
> > Thanks!
> > 
> > -----Original Message-----
> > From: Lynch, Rusty
> > Sent: Wednesday, August 28, 2013 10:34 AM
> > To: Li, Hao H
> > Cc: general@lists.tizen.org; i...@lists.tizen.org
> > Subject: Re: [Tizen General] Question about the log of launch_app 
> > org.tizen.dialer on Tizen IVI
> > 
> > The log device files (i.e. what's needed for dlog to work) are not writable
> > by the app user (which is wrong and we really should document this as a
> > bug) so all the log writes fail.  
> > 
> > A way to work around this is to ssh in as root (or 'su -' in the
> > terminal) and type 'chmod 666 /dev/log*' before running an app.  These
> > files are created at boot time so you have to do this on each boot.
> > 
> > BTW... the way to fix this is to create a udev rule to assign better
> > permissions on the device files.  Of course we would need to debate with
> > the security team what those permissions should be.
> > 
> >     --rusty
> > 
> > On Wed, 2013-08-28 at 00:33 +0000, Li, Hao H wrote:
> > > Hi
> > > 
> > >  
> > > 
> > > http://download.tizen.org/releases/milestone/tizen/ivi/tizen_20130729.
> > > 2/repos/ivi/ia32/packages/i686/lemolo-0.1.3-1.1.i686.rpm
> > > 
> > > During launch_app org.tizen.dialer on Tizen IVI, is there any way to 
> > > see the log?
> > > 
> > >  
> > > 
> > > I tried dlogutil and EINA_LOG_LEVEL=5 launch_app org.tizen.dialer, 
> > > neither of them can see the log about dialer.
> > > 
> > >  
> > > 
> > > Thanks!
> > > 
> > >  
> > > 
> > > Li Hao
> > > 
> > > Best Regards
> > > 
> > > Email:hao.h...@intel.com
> > > 
> > >  
> > > 
> > > Tizen Enabling Team
> > > 
> > > Software and Service Group
> > > 
> > > Intel Asia-Pacific Research & Development Ltd.
> > > 
> > > Tel: 86-21-61167039
> > > 
> > >  
> > > 
> > > 
> > > _______________________________________________
> > > General mailing list
> > > General@lists.tizen.org
> > > https://lists.tizen.org/listinfo/general
> > 
> > 
> 
> 
> _______________________________________________
> General mailing list
> General@lists.tizen.org
> https://lists.tizen.org/listinfo/general
> 


-- 
Carsten Haitzler (The Rasterman) <ti...@rasterman.com>
_______________________________________________
General mailing list
General@lists.tizen.org
https://lists.tizen.org/listinfo/general

Reply via email to