RESOLVED FIXED 135202
[Curl] Enable file logging.
https://bugs.webkit.org/show_bug.cgi?id=135202
Summary [Curl] Enable file logging.
peavo
Reported 2014-07-23 10:55:19 PDT
The Curl api offers the possibility to write log messages to file. It would be nice to enable this for debugging purposes.
Attachments
Patch (2.97 KB, patch)
2014-07-23 10:58 PDT, peavo
no flags
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2 (508.04 KB, application/zip)
2014-07-23 12:01 PDT, Build Bot
no flags
Patch (2.98 KB, patch)
2014-07-24 11:50 PDT, peavo
no flags
peavo
Comment 1 2014-07-23 10:58:35 PDT
Build Bot
Comment 2 2014-07-23 12:01:42 PDT
Comment on attachment 235360 [details] Patch Attachment 235360 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5118260223672320 New failing tests: media/track/add-and-remove-track.html
Build Bot
Comment 3 2014-07-23 12:01:45 PDT
Created attachment 235365 [details] Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-11 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Alex Christensen
Comment 4 2014-07-23 14:25:56 PDT
Comment on attachment 235360 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=235360&action=review Otherwise this looks good > Source/WebCore/platform/network/curl/ResourceHandleManager.cpp:237 > + , m_logFile(0) This should be nullptr.
Alex Christensen
Comment 5 2014-07-23 14:47:33 PDT
Is there any reason why we would want there to be no log for a debug build? Does it slow it down too much? I think falling back to writing a log to the current working directory would make the logs easier to find
peavo
Comment 6 2014-07-24 11:50:42 PDT
Alex Christensen
Comment 7 2014-07-24 11:51:50 PDT
Comment on attachment 235439 [details] Patch r=me
peavo
Comment 8 2014-07-24 11:52:46 PDT
(In reply to comment #7) > (From update of attachment 235439 [details]) > r=me Thanks for reviewing :)
peavo
Comment 9 2014-07-24 11:55:04 PDT
(In reply to comment #5) > Is there any reason why we would want there to be no log for a debug build? Does it slow it down too much? I think falling back to writing a log to the current working directory would make the logs easier to find The logging is pretty verbose. I believe it will slow things down, so this patch only enables it for debug builds.
WebKit Commit Bot
Comment 10 2014-07-24 12:24:12 PDT
Comment on attachment 235439 [details] Patch Clearing flags on attachment: 235439 Committed r171513: <http://trac.webkit.org/changeset/171513>
WebKit Commit Bot
Comment 11 2014-07-24 12:24:16 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.