Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Issue 11035014: Collect user logs that debugd can not access (Closed)

Created:
8 years, 2 months ago by gauravsh
Modified:
8 years, 1 month ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Collect user logs that debugd can not access Debugd can't access anything inside a user's cryptohome. So, get a list of user logs files to collect from debugd, and then read them. BUG=chromium-os:34817 TEST=Navigate to chrome://system and verify chrome_user_log, login-times and logout-times now show up. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166065

Patch Set 1 #

Total comments: 2

Patch Set 2 : get logfile names to collect from debugd #

Total comments: 1

Patch Set 3 : fix indent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -13 lines) Patch
M chrome/browser/chromeos/system_logs/debug_daemon_log_source.h View 1 1 chunk +11 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc View 1 2 5 chunks +39 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/system_logs/system_logs_fetcher.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/debug_daemon_client.h View 1 1 chunk +8 lines, -3 lines 0 comments Download
M chromeos/dbus/debug_daemon_client.cc View 1 6 chunks +26 lines, -5 lines 0 comments Download
M chromeos/dbus/mock_debug_daemon_client.h View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
gauravsh
So, another alternative way of doing this (much less code) would be to use "cat" ...
8 years, 2 months ago (2012-10-02 00:13:36 UTC) #1
gauravsh
Dave Moore: ping?
8 years, 2 months ago (2012-10-08 16:19:30 UTC) #2
DaveMoore
http://codereview.chromium.org/11035014/diff/1/chrome/browser/chromeos/system_logs/user_log_source.cc File chrome/browser/chromeos/system_logs/user_log_source.cc (right): http://codereview.chromium.org/11035014/diff/1/chrome/browser/chromeos/system_logs/user_log_source.cc#newcode38 chrome/browser/chromeos/system_logs/user_log_source.cc:38: {"chrome_user_log", "/home/chronos/user/log/chrome"}, I would prefer that the knowledge about ...
8 years, 2 months ago (2012-10-08 18:10:28 UTC) #3
gauravsh
http://codereview.chromium.org/11035014/diff/1/chrome/browser/chromeos/system_logs/user_log_source.cc File chrome/browser/chromeos/system_logs/user_log_source.cc (right): http://codereview.chromium.org/11035014/diff/1/chrome/browser/chromeos/system_logs/user_log_source.cc#newcode38 chrome/browser/chromeos/system_logs/user_log_source.cc:38: {"chrome_user_log", "/home/chronos/user/log/chrome"}, On 2012/10/08 18:10:28, DaveMoore wrote: > I ...
8 years, 2 months ago (2012-10-08 18:13:59 UTC) #4
gauravsh
davemoore: PTAL, this is ready for review. As discussed, we now grab the list of ...
8 years, 1 month ago (2012-10-26 23:12:35 UTC) #5
DaveMoore
lgtm modulo nit http://codereview.chromium.org/11035014/diff/6001/chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc File chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc (right): http://codereview.chromium.org/11035014/diff/6001/chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc#newcode69 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc:69: weak_ptr_factory_.GetWeakPtr())); nit: indenting wrong
8 years, 1 month ago (2012-11-05 19:43:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gauravsh@chromium.org/11035014/12001
8 years, 1 month ago (2012-11-05 20:20:35 UTC) #7
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years, 1 month ago (2012-11-05 20:27:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gauravsh@chromium.org/11035014/12001
8 years, 1 month ago (2012-11-05 21:00:10 UTC) #9
commit-bot: I haz the power
8 years, 1 month ago (2012-11-05 23:07:07 UTC) #10
Change committed as 166065

Powered by Google App Engine
This is Rietveld 408576698