How to enable logging on Chromebooks

320 views
Skip to first unread message

Henrik Andreasson

unread,
Jun 11, 2014, 12:53:25 PM6/11/14
to chromiu...@chromium.org
I am used to working with DVLOGs in Chrome. Let's say I want to check DVLOG(1) in /media. I then do:

ninja -C out Debug/chrome -j 100
./out/Debug/chrome --enable-logging --vmodule=*/media/*=1

and read the printouts in my terminal.

How can I do the same on my Pixel?

- I assume I must build a Debug version of Chromium for Chrome OS.
- Download a debug image (or test image?)
- Modify chrome_dev.conf like so:

--enable-logging
vmodule=*/media/*=1

..and then what? How can I check the output logs?

Mike Frysinger

unread,
Jun 11, 2014, 1:09:12 PM6/11/14
to Henrik Andreasson, chromium-os-dev
you will need at least a dev image on the device

then you can use simple chrome to build & deploy your custom chrome

then you would edit chrome_dev.conf to include your custom flags.

i've updated the wiki page to cover all of this as well as where log files go:
-mike


--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en


Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages