Hi, i am not able to see the log messages with "PVLOGMSG_NOTICE" option.. even if i give -logall . can anybody help on this ?
Sonal On Mar 20, 1:35 pm, Nima <[email protected]> wrote: > Hi, > > Kindly let us know any other flag need to be enabled in the > Opencore2.0 source > code for enabling PV logs while running UnitTestcases. > > Thanks&Regards, > > On Mar 2, 12:18 pm, Nima <[email protected]> wrote: > > > Hi, > > > Under "./adb shell" if we run the following command as suggested by > > you > > "cd /sdcard;pvplayer_engine_test -test > > 803 803 -sourcetest.mp4 -logfile -logall" > > > "player.log" is getting generated under /sdcard with "0 " bytes. > > > Kindly let us know any other flag need to be enabled in the source > > code for enabling PV logs while running UnitTestcases. > > > The following codes been added in file "/opencore/android/ > > android_logger_config.h" under the function > > "ReadAndParseLoggerConfigFile()" > > > #define LOG_EVERYTHING > > #ifdef LOG_EVERYTHING > > LoggerConfigElement obj; > > obj.iLoggerString = ""; > > obj.iLogLevel = 8; > > iLoggerConfigElements.push_back(obj); > > iLogFileRead = true; > > return 1; > > #endif > > > Made the image with the following command > > "make -j ENABLE_PV_LOGGING=1 " > > > Thanks&Regards, > > > On Feb 27, 7:24 pm, rktb <[email protected]> wrote: > > > > If you are running the player engine unittestlogs, you would find > > > them in a file named "player.log" in the cwd of the emulator. > > > > As an example .... adb shell "cd /sdcard;pvplayer_engine_test -test > > > 803 803 -sourcetest.mp4 -logfile -logall" ...this will dump the > > > logfile in /sdcard/player.log. > > > > -Ravi > > > > On Feb 27, 1:43 am, Nima <[email protected]> wrote: > > > > > Hi, > > > > > We are working with Opencore2.0.we have enabled PV logging in the > > > > following way > > > > > <android-root>$ source build/envsetup.sh > > > > <android-root>$ lunch 1 > > > > <android-root>$ make clean > > > > <android-root>$ make -j ENABLE_PV_LOGGING=1 > > > > <android-root>$ emulator & adb logcat > MyLog.txt > > > > > While running unittestcases from the /data folder of emulator in > > > > the following way > > > > > adb$./pvplayer_engine_test -test1 1 -source test_cbr.mp3 -logall - > > > > logtext>>MyLog.txt > > > > > "MyLog.txt" is getting created in the /data folder but the PV logs > > > > are not there. > > > > > Same procedure if we execute with opencore1.0 PV logs are appended > > > > along with thetestlogs. > > > > > Whether we need to enable any macro for enabling PV logs while > > > > running unittestcases? > > > > > Thanks&Regards, > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---
