Re: printing logs (printf) when application starts from menu
I wrote an application named My_app that plays audio and also records voice from microphone. I usually use this application from command prompt. There are lots of printfs in it for debugging purpose which gets printed on terminal when the application is run. I just put the application in the start menu and it does not behave properly as it should. More particularly the recording from mic is problematic. I have no way of accessing the printf at present as the application is starting from Start Menu - Extras - My_app Is there any way that I can get this printf printed in some file when I start this application from the menu. It will be still much better if I can open another window and it keeps printing the printf even when I start My_app from the menu. Sounds like this would be a useful feature for the hildon-launcher to support. I would like to see hildon-launcher reporting errors to some central server (a la M$ Windows error reporter) and any stdout/stderr output would would be a useful thing to have. This reporting tool does actually exist within Nokia for internal testing, but would probably also be useful for the outside world, obviously with tweaks to where the debugging information is sent. I remember on Opie (running on the Zaurus) there was a central log screen which showed the output of all of the Opie applications. I wonder if this would be an option, or perhaps just automatically piping the output from individual applications a pid-specifc temporary log file under /var (which could then be sent off with an error report should one occur, or would otherwise be deleted when the app closes). Hildon launcher is here: https://stage.maemo.org/svn/maemo/projects/haf/trunk/maemo-launcher/launcher/ Have a look and see what patches you think might do the job. Cheers, Simon ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: printing logs (printf) when application starts from menu
Simon Pickering wrote: I wrote an application named My_app that plays audio and also records voice from microphone. I usually use this application from command prompt. There are lots of printfs in it for debugging purpose which gets printed on terminal when the application is run. I just put the application in the start menu and it does not behave properly as it should. More particularly the recording from mic is problematic. I have no way of accessing the printf at present as the application is starting from Start Menu - Extras - My_app Is there any way that I can get this printf printed in some file when I start this application from the menu. It will be still much better if I can open another window and it keeps printing the printf even when I start My_app from the menu. Sounds like this would be a useful feature for the hildon-launcher to support. I would like to see hildon-launcher reporting errors to some central server (a la M$ Windows error reporter) and any stdout/stderr output would would be a useful thing to have. This reporting tool does actually exist within Nokia for internal testing, but would probably also be useful for the outside world, obviously with tweaks to where the debugging information is sent. I remember on Opie (running on the Zaurus) there was a central log screen which showed the output of all of the Opie applications. I wonder if this would be an option, or perhaps just automatically piping the output from individual applications a pid-specifc temporary log file under /var (which could then be sent off with an error report should one occur, or would otherwise be deleted when the app closes). Hildon launcher is here: https://stage.maemo.org/svn/maemo/projects/haf/trunk/maemo-launcher/launcher/ Have a look and see what patches you think might do the job. So, are you asking for syslog or the equivalent? Jason ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: printing logs (printf) when application starts from menu
If you send those messages to a syslog, then this sounds like what you are after: http://maemo.org/development/tools/doc/diablo/sp-error-visualizer/ Can't deny it's overkill though. On Wed, Oct 22, 2008 at 9:36 PM, mpopat [EMAIL PROTECTED] wrote: Dear community, I wrote an application named My_app that plays audio and also records voice from microphone. I usually use this application from command prompt. There are lots of printfs in it for debugging purpose which gets printed on terminal when the application is run. I just put the application in the start menu and it does not behave properly as it should. More particularly the recording from mic is problematic. I have no way of accessing the printf at present as the application is starting from Start Menu - Extras - My_app Is there any way that I can get this printf printed in some file when I start this application from the menu. It will be still much better if I can open another window and it keeps printing the printf even when I start My_app from the menu. Thanx in advance. regards, Mrukant Popat Technology Consultant Pioneer Electronics Silicon Valley, CA, US ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
printing logs (printf) when application starts from menu
Dear community, I wrote an application named My_app that plays audio and also records voice from microphone. I usually use this application from command prompt. There are lots of printfs in it for debugging purpose which gets printed on terminal when the application is run. I just put the application in the start menu and it does not behave properly as it should. More particularly the recording from mic is problematic. I have no way of accessing the printf at present as the application is starting from Start Menu - Extras - My_app Is there any way that I can get this printf printed in some file when I start this application from the menu. It will be still much better if I can open another window and it keeps printing the printf even when I start My_app from the menu. Thanx in advance. regards, Mrukant Popat Technology Consultant Pioneer Electronics Silicon Valley, CA, US ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers