Closed
Bug 1307889
Opened 8 years ago
Closed 7 years ago
Support server log call messages
Categories
(DevTools :: Console, enhancement)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: linclark, Assigned: Honza)
References
Details
Originally posted by:linclark see https://github.com/devtools-html/gecko-dev/issues/199 Parent issue: #140 Where it is received: https://dxr.mozilla.org/mozilla-central/source/devtools/client/webconsole/webconsole.js#3386 Where it comes from: https://dxr.mozilla.org/mozilla-central/source/devtools/server/actors/webconsole.js#1640 Current test: - browser_console_server_logging.js
Reporter | ||
Updated•8 years ago
|
Priority: -- → P2
Whiteboard: new-console
Updated•8 years ago
|
Blocks: enable-new-console
Comment 1•8 years ago
|
||
Server logs are off by default in the old console, unblocking the enabling bug on this (not saying we won't fix it, but it's not at the same prioritization level as other things for riding to dev edition)
No longer blocks: enable-new-console
Updated•8 years ago
|
Mentor: odvarko
Updated•8 years ago
|
Mentor: odvarko
Comment 2•8 years ago
|
||
We should consider implementing this as a web extension based on the chrome logger spec this feature is based off of: https://craig.is/writing/chrome-logger/techspecs, or even reaching out to the author to see about porting it over to firefox: https://github.com/ccampbell/chromelogger/.
Assignee | ||
Comment 3•7 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #2) > We should consider implementing this as a web extension based on the chrome > logger spec this feature is based off of: > https://craig.is/writing/chrome-logger/techspecs, or even reaching out to > the author to see about porting it over to firefox: > https://github.com/ccampbell/chromelogger/. Yes, I am also voting for making the Chrome logger extension to work in Firefox (based on standard Web Extension API) and reach the existing community around this extension. Honza
Comment 4•7 years ago
|
||
With Firebug going away in favor of DevTools, this is becoming a more pressing issue I think. There are a lot of shops out there who's business depend on PHP and Firebug's capability to display server-side logs. Making chromelogger a cross-browser web extension would be awesome! We should reach out to the author via an issue on the github repo. Brian: will you do that or want me to?
Assignee | ||
Comment 5•7 years ago
|
||
I also put the Chrome Logger extension into the list of DevTools extensions to analyze API requirements. https://docs.google.com/document/d/1uvnO8hNLQuA50H0I0e4oTzFi_DvhbSvxr6nKj7k341s/edit# Honza
Comment 6•7 years ago
|
||
(In reply to Patrick Brosset <:pbro> from comment #4) > With Firebug going away in favor of DevTools, this is becoming a more > pressing issue I think. There are a lot of shops out there who's business > depend on PHP and Firebug's capability to display server-side logs. > > Making chromelogger a cross-browser web extension would be awesome! We > should reach out to the author via an issue on the github repo. Brian: will > you do that or want me to? Please do - I'll be unavailable for a couple of weeks.
Updated•7 years ago
|
Blocks: enable-new-console
Flags: qe-verify+
Priority: P2 → P3
QA Contact: iulia.cristescu
Whiteboard: new-console → [reserve-new-console]
Updated•7 years ago
|
Whiteboard: [reserve-new-console] → [reserve-console-html]
Comment 8•7 years ago
|
||
I'm using Firefox 53 and I can see server console messages. Today I tried nigthly 55 today, but the new different filtering options does not include "Server" anymore, and my server console messages are missing. Is this what you are discussing here, or it's a different issue/bug I should report? If yes, why it has been removed?
Updated•7 years ago
|
Priority: P3 → P4
Updated•7 years ago
|
Priority: P4 → P3
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → odvarko
Status: NEW → ASSIGNED
Updated•7 years ago
|
Iteration: --- → 57.3 - Sep 19
Priority: P3 → P1
Assignee | ||
Comment 10•7 years ago
|
||
I am using this bug to track progress on fixing the existing Chrome Logger extension and making it compatible with Firefox Web Extensions API Here is first PR on github: https://github.com/ccampbell/chromelogger/pull/73 Honza
Updated•7 years ago
|
Iteration: 57.3 - Sep 19 → ---
Comment 12•7 years ago
|
||
I see that the PR got merged - what are the next steps to get this resolved?
Flags: needinfo?(odvarko)
Assignee | ||
Comment 13•7 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #12) > I see that the PR got merged - what are the next steps to get this resolved? Craig is now looking at how to get the extension on AMO. Honza
Flags: needinfo?(odvarko)
Updated•7 years ago
|
Flags: qe-verify+
QA Contact: iulia.cristescu
Whiteboard: [reserve-console-html] → [newconsole-mvp]
Assignee | ||
Comment 15•7 years ago
|
||
Chrome Logger by Spencer T⋆ Obremski extension [1] is now available in our DevTools collection [2] This extension is based on ChromeLogger from Craig Campbell [3] (originally introduced for Chrome) [1] https://addons.mozilla.org/en-US/firefox/addon/chromelogger/ [2] https://addons.mozilla.org/en-US/firefox/collections/mozilla/webdeveloper/ [3] https://craig.is/writing/chrome-logger/ So, I am closing this bug. Honza
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Priority: P1 → --
Whiteboard: [newconsole-mvp]
Comment 16•7 years ago
|
||
Please don't close it just yet, because the extension doesn't work for me, at least not with ChromePhp. Judging from the comments on the extension's page I'm not the only one. It throws an error in the console: Type Error columnNumber: 3 fileName: "moz-extension://2fc6a7d6-f1d5-44d8-9fa2-954e4b7ced8b/log.js" lineNumber: 17 message: "window.console[method] is undefined" stack: "forEachChromeLoggerDataRow@moz-extension://2fc6a7d6-f1d5-44d8-9fa2-954e4b7ced8b/log.js:17:3\n@moz-extension://2fc6a7d6-f1d5-44d8-9fa2-954e4b7ced8b/log.js:31:2\n" log.js:19:3 I'm at a loss...?
Assignee | ||
Comment 17•7 years ago
|
||
(In reply to C. Martin from comment #16) > Please don't close it just yet, because the extension doesn't work for me, > at least not with ChromePhp. Judging from the comments on the extension's > page I'm not the only one. This bug, was about supporting ChromeLogger and its protocol (since the feature was previously built-in DevTools). The extension works for me on this page: https://craig.is/writing/chrome-logger I am seeing `Hello World` message + an array logged into the Console panel. This bug isn't covering any specific features of that extension and you need to request the author to support other protocols and/or fix bugs. Honza
Comment 18•7 years ago
|
||
Thanks for the quick reply. The issue seems to be with ChromePhp. In face ChromePhp::warn(), ChromePhp::error(), ChromePhp::info() all work, just ChromePhp::log() doesn't.
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•