OpenCore PV logging

After searching a lot over the Internet to capture the logs for Packet Video Multimedia framework, the following things are concluded, though I am still not able to capture the log in pvlogger.txt file.

Most of the people mentioned to compile with ENABLE_PV_LOGGING=1 option compilation for Android platform with /sdcard/pvlogger.txt. It was also mentioned to write [Log Level] [Node to log] in the pvlogger.txt. Under the heaven, I was still clueless to see a single log.

The most important part of source exists in external\opencore\android\thread_init.cpp, where it checks PVLOGGER_INST_LEVEL and then includes android_logger_config.h which has the logger class. Therefore, add “#define PVLOGGER_INST_LEVEL 5″ in this file and create pvlogger.txt file with 8 in it. You can see the log. Enjoy!!

Advertisement

No comments yet

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.