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

Issue 1256773002: When we trace to file, add eol of each trace message. (Closed)

Created:
5 years, 5 months ago by braveyao1
Modified:
5 years, 4 months ago
Reviewers:
pbos-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, Andrew MacDonald, mflodman, henrika_webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

When we trace to file, add eol of each trace message. BUG=webrtc:4864 TEST=Manual Test with voe_cmd_test R=pbos@webrtc.org TBR=kjellander@webrtc.org The regression is introduced in #8529, Review URL: https://webrtc-codereview.appspot.com/34329004. Committed: https://chromium.googlesource.com/external/webrtc/+/a44660960a24c5167ad4b8b15093d577dfc224b0

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M webrtc/system_wrappers/source/trace_impl.cc View 1 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 9 (1 generated)
braveyao1
Hi pbos, please help to take a look!
5 years, 5 months ago (2015-07-24 06:46:57 UTC) #2
pbos-webrtc
https://codereview.webrtc.org/1256773002/diff/1/webrtc/system_wrappers/source/trace_impl.cc File webrtc/system_wrappers/source/trace_impl.cc (right): https://codereview.webrtc.org/1256773002/diff/1/webrtc/system_wrappers/source/trace_impl.cc#newcode452 webrtc/system_wrappers/source/trace_impl.cc:452: trace_message[ack_len - 1] = '\n'; Doesn't this truncate the ...
5 years, 5 months ago (2015-07-24 08:29:11 UTC) #3
pbos-webrtc
https://codereview.webrtc.org/1256773002/diff/1/webrtc/system_wrappers/source/trace_impl.cc File webrtc/system_wrappers/source/trace_impl.cc (right): https://codereview.webrtc.org/1256773002/diff/1/webrtc/system_wrappers/source/trace_impl.cc#newcode405 webrtc/system_wrappers/source/trace_impl.cc:405: trace_file_->Write(msg, length); Isn't here where you want to add ...
5 years, 5 months ago (2015-07-24 09:47:34 UTC) #4
braveyao1
Thanks for the comments. All replied. No modification needed I think. Please re-consider. https://codereview.webrtc.org/1256773002/diff/1/webrtc/system_wrappers/source/trace_impl.cc File ...
5 years, 5 months ago (2015-07-24 10:02:39 UTC) #5
pbos-webrtc
On 2015/07/24 10:02:39, braveyao1 wrote: > Thanks for the comments. All replied. No modification needed ...
5 years, 5 months ago (2015-07-24 10:41:48 UTC) #6
braveyao1
On 2015/07/24 10:41:48, pbos-webrtc wrote: > On 2015/07/24 10:02:39, braveyao1 wrote: > > Thanks for ...
5 years, 5 months ago (2015-07-27 04:16:06 UTC) #7
pbos-webrtc
lgtm, thanks
5 years, 4 months ago (2015-07-27 11:53:49 UTC) #8
braveyao1
5 years, 4 months ago (2015-07-28 02:46:16 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
a44660960a24c5167ad4b8b15093d577dfc224b0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698