Logging chromium activity

195 views
Skip to first unread message

Thomas Schweikle

unread,
Mar 22, 2016, 11:05:30 AM3/22/16
to Chromium-discuss
Hi!

I am trying to have chrome log its activity to debug-log. I've found https://www.chromium.org/for-testers/enable-logging. But the given instructions do not seem to work with Windows ...

Logging is enabled, but does not go to a file setting

CHROME_LOG_FILE="chrome-22-03-2016-15-49-47-09.log"

nor does it work setting

CHROME_LOG_FILE="C:\Users\sct-muc\Desktop\chrome-22-03-2016-15-57-57-12.log"

chrome seems to ignore setting this environment variable.
Chrome instead writes out some lines to stderr on Windows:

[3588:4764:0322/155757:ERROR:child_process_launcher.cc(505)] Failed to launch child process
[3588:4652:0322/155757:ERROR:child_process_launcher.cc(505)] Failed to launch child process
[3588:4652:0322/155757:ERROR:child_process_launcher.cc(505)] Failed to launch child process
[3588:4652:0322/155757:ERROR:child_process_launcher.cc(505)] Failed to launch child process
[3588:4652:0322/155757:ERROR:child_process_launcher.cc(505)] Failed to launch child process
[3588:4652:0322/155757:ERROR:shell.cc(302)] Error: Instance: exe:chrome attempting to register an instance for a process it created
for target: exe:chrome_renderer without the mojo:shell{client_process} capability class.
[3588:4652:0322/155757:ERROR:shell.cc(302)] Error: Instance: exe:chrome attempting to register an instance for a process it created
for target: exe:chrome_renderer without the mojo:shell{client_process} capability class.
[3588:4652:0322/155757:ERROR:shell.cc(302)] Error: Instance: exe:chrome attempting to register an instance for a process it created
for target: exe:chrome_renderer without the mojo:shell{client_process} capability class.
[3588:4652:0322/155757:ERROR:shell.cc(302)] Error: Instance: exe:chrome attempting to register an instance for a process it created
for target: exe:chrome_renderer without the mojo:shell{client_process} capability class.
[3588:4764:0322/155757:ERROR:child_process_launcher.cc(505)] Failed to launch child process
[3588:4652:0322/155802:ERROR:shell.cc(302)] Error: Instance: exe:chrome attempting to register an instance for a process it created
for target: exe:chrome_renderer without the mojo:shell{client_process} capability class.
[3588:4652:0322/155802:ERROR:child_process_launcher.cc(505)] Failed to launch child process
[3588:4652:0322/155803:ERROR:shell.cc(302)] Error: Instance: exe:chrome attempting to register an instance for a process it created
for target: exe:chrome_renderer without the mojo:shell{client_process} capability class.
[3588:4652:0322/155803:ERROR:child_process_launcher.cc(505)] Failed to launch child process

Does not look realy good. Any idea what is going on here?

Anand

unread,
Mar 22, 2016, 12:05:59 PM3/22/16
to Chromium-discuss
Ignore it. Known log spam.

Mark Hu

unread,
Jan 14, 2017, 1:17:47 PM1/14/17
to Chromium-discuss
hi, facing the same issue here with a much newer chrome browser:

I am using vs .net 2015 with update 3 version # 14.0.25425.01 with .net 4.6.01055

and my chrome version is:


Google Chrome	55.0.2883.75 (Official Build) m (32-bit)
Revision	451c239c3b0722dc867b0f75839b959f729b756a-refs/branch-heads/2883@{#698}
OS	Windows 
JavaScript	V8 5.5.372.29
Flash	24.0.0.194
User Agent	Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36
Command Line	"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --flag-switches-begin --flag-switches-end
Executable Path	C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

somehow just since yesterday, I am seeing this issue:

2017-01-13 11:01:18.006  9228  1 INFO  Paragon.Runtime.AutoStopwatch Creating browser took 893ms
2017-01-13 11:01:18.006  9228  1 INFO  Paragon.Runtime.AutoStopwatch Creating browser control took 918ms
[0113/110118:ERROR:child_process_launcher.cc(505)] Failed to launch child process

expected browser instance failed to launched up.

can someone throw some light here ?

thanks
Reply all
Reply to author
Forward
0 new messages