I made a modification to android_logger_config.h to enable logging
without the config file...

Add to this to the top of ReadAndParseLoggerConfigFile()

#define LOG_EVERYTHING
#ifdef LOG_EVERYTHING
        LoggerConfigElement obj;
        obj.iLoggerString = "";
        obj.iLogLevel = 8;
        iLoggerConfigElements.push_back(obj);
        iLogFileRead = true;
        return 1;
#endif

-Yung

On Jan 30, 6:12 pm, RCP2278 <rcp2...@gmail.com> wrote:
> Hi,
>
> I'm trying to capture some log traces from openCore by running/playing
> the media player from the emulator.  I'm running OpenCore 2.0 and I
> followed the steps as instructed inside external/opencore/android/
> android_logger_config.h.  Below is what I did:
>
> 1) Create a file named pvlogger.txt which contains the following line:
> 8,PVPlayerEngine
>
> 2) Launch emulator through Eclipse (APIDemos project > Debug As),
> making sure that when the emulator is launched that I mounted the
> sdcard directory
>
> 2a) Open the Debug perspective so I can see the output through LogCat
>
> 3) adb push pvlogger.txt /sdcard
>
> 4) adb shell and cd to /sdcard just to make sure the pvlogger.txt is
> there
>
> 5) Launch the media player (play local file or play streaming video)
>
> NOTE: I've never been successful in playing the streaming video on the
> emulator, which is one of my motivations to run a trace and see what
> is going on in the framework.  I've googled around and it seems like
> everyone is having the same problem and could be an emulator
> problem....
>
> After Step (5) I don't see any traces that would appear to come from
> openCore.
>
> Do I need to attach to a separate process to see the logs generated
> from openCore?  If so, can I do that through Eclipse/DDMS (when I
> played the local playback, only 4 threads were running (1 main thread
> and 3 binder threads)  I highlighted each one and it doesn't appear
> that any openCore logs are showing.  Obviously I'm doing something
> wrong here.  I'm also new at Eclipse so can you please advice how and
> which process to attach to?
>
> Thanks.
>
> R
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to