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

Issue 4262001: Fixed bug where CHECKs don't fire if min_log_level > FATAL (Closed)

Created:
10 years, 1 month ago by akalin
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., brettw-cc_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Fixed bug where CHECKs don't fire if min_log_level > FATAL BUG=61510 TEST=New unittests in base_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=64883

Patch Set 1 #

Total comments: 1

Patch Set 2 : Addressed brett's comments #

Patch Set 3 : Fixed ipc_tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -39 lines) Patch
M base/logging.h View 1 5 chunks +26 lines, -25 lines 0 comments Download
M base/logging.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/logging_unittest.cc View 3 chunks +62 lines, -8 lines 0 comments Download
M ipc/ipc_sync_channel_unittest.cc View 2 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
akalin
+brettw for review
10 years, 1 month ago (2010-11-01 23:35:48 UTC) #1
brettw
http://codereview.chromium.org/4262001/diff/1/3 File base/logging.h (right): http://codereview.chromium.org/4262001/diff/1/3#newcode606 base/logging.h:606: const LogSeverity LOG_DCHECK = LOG_INFO; I don't understand what ...
10 years, 1 month ago (2010-11-03 00:35:43 UTC) #2
akalin
On 2010/11/03 00:35:43, brettw wrote: > http://codereview.chromium.org/4262001/diff/1/3 > File base/logging.h (right): > > http://codereview.chromium.org/4262001/diff/1/3#newcode606 > ...
10 years, 1 month ago (2010-11-03 00:46:11 UTC) #3
brettw
LGTM
10 years, 1 month ago (2010-11-03 01:06:15 UTC) #4
akalin
Fixed ipc_test that was relying on the old behavior. Checking in as soon as trybots ...
10 years, 1 month ago (2010-11-03 02:34:05 UTC) #5
Timur Iskhodzhanov
FYI, (regarding ipc/ipc_sync_channel_unittest.cc) Last time I've tried temporary hot-swapping of the LogMessageHandler I was "unLGTMed": ...
10 years, 1 month ago (2010-11-03 12:57:07 UTC) #6
hansl_g
There is a testing::LogDisabler that is broken with this change. We use it a lot ...
10 years, 1 month ago (2010-11-03 17:29:41 UTC) #7
hansl
10 years, 1 month ago (2010-11-03 17:30:37 UTC) #8
Sorry I didn't use the right account :-(

On 2010/11/03 17:29:41, hansl_g wrote:
> There is a testing::LogDisabler that is broken with this change. We use it a
lot
> in CEEE.
> 
> I'm fixing it right now, but you might want to use it instead of setting
> manually the LogAssertHandler in ipc_sync_channel_unittest.cc
> 
> On 2010/11/03 12:57:07, Timur Iskhodzhanov wrote:
> > FYI, (regarding ipc/ipc_sync_channel_unittest.cc)
> > 
> > Last time I've tried temporary hot-swapping of the LogMessageHandler I was
> > "unLGTMed":
> > http://codereview.chromium.org/3394013/diff/9001/10001
> > + see review comments from Pawel.
> > 
> > Also, this has introduced a data race report on TSan/Mac since
> > LOG/SetLogMessageHandler can be called on different threads. Please watch
the
> > memory waterfall status after commiting.

Powered by Google App Engine
This is Rietveld 408576698