[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13453919#comment-13453919 ] Andreas Hubold commented on SOLR-3367: -- This feature is broken in Solr 4.0-BETA - at least with certain schema.xml files. See SOLR-3829. Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0-ALPHA Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.png We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13417257#comment-13417257 ] Antony Stubbs commented on SOLR-3367: - This functionality appears to break when using LogBack instead of the default setup.. Is there a known way to make it work with logback? Looks like a cool feature. Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0-ALPHA Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.png We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13417331#comment-13417331 ] Ryan McKinley commented on SOLR-3367: - See SOLR-3358 for how to do this with log4j -- implementing a LogBack version should be similarly straightforward Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0-ALPHA Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.png We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13397765#comment-13397765 ] Stefan Matheis (steffkes) commented on SOLR-3367: - Ah okay, makes sense. So, what about the following: If the Record contains a {{trace}}-Index, everything is great - otherwise we take the {{message}} (which in this case will contain the whole thing) and split on the first newline .. using the former part as new {{message}} and the latter as {{trace}}. I have to check if this works for only a few / most / or perhaps all exceptions i can get ; Will create a new Ticket for this. Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0 Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.png We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13396976#comment-13396976 ] Stefan Matheis (steffkes) commented on SOLR-3367: - Ah, perhaps i was not clear .. or just misunderstood your last comment? The Length of the Message (itself) is not really a problem .. we could either use overflow:hidden, like you're already suggesting .. or break on whitespaces - that will both work. My Point is about the Fact that second one contains the complete stacktrace as {{message}}-key. If we can split them, so that we have a {{message}} and a {{trace}} (like the first one) for every entry - that would be great .. but don't know if that would be possible? Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0 Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.png We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13397038#comment-13397038 ] Ryan McKinley commented on SOLR-3367: - the issue is that some exceptions take the output of 'cause' exceptions and put it in the message body {code} throw new RuntimeException( error +cause ); {code} vs {code} throw new RuntimeException( error message, cause ); {code} The UI should look OK regardless of how people create the error message, but yes keeping the cause as a trace element is much nicer. This is just an easy way to make a very long message string. Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0 Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.png We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13396244#comment-13396244 ] Stefan Matheis (steffkes) commented on SOLR-3367: - Ryan, would you mind to have a look at my last comment? Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0 Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.png We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13396271#comment-13396271 ] Ryan McKinley commented on SOLR-3367: - ya, i see the difference. Obviously it is best if we can change the messages so they are reasonably short, but this is not realistic for all error messages. (yes, we should open an issue for this specific error, but it is not an easy fix) Whatever format we pick should be able to support short or long messages (i think) Perhaps overflow:hidden? or an option to toggle overflow:hidden? Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0 Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.png We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13276740#comment-13276740 ] Stefan Matheis (steffkes) commented on SOLR-3367: - Hm, i think we should open another Issue for this, or do you think otherwise? Because, if you check the difference between: {code}{ time: 2012-05-16T13:25:03.679Z, level: SEVERE, logger: org.apache.solr.handler.admin.LoggingHandler, message: error (with exception), trace: java.lang.RuntimeException: test at org.apache.solr.handler.admin.LoggingHandler.handleRequestBody(LoggingHandler.java:75) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129) ... }{code} (from {{/solr/admin/logging?wt=jsonsince=0test=true}}) and {code}{ time: 2012-05-16T13:26:10.722Z, level: SEVERE, logger: org.apache.solr.core.SolrCore, message: org.apache.solr.common.SolrException: Can not find: schema.not [/opt/solr-trunk/solr/example/solr/./conf/schema.not] at org.apache.solr.handler.admin.ShowFileRequestHandler.showFromFileSystem(ShowFileRequestHandler.java:229) at org.apache.solr.handler.admin.ShowFileRequestHandler.handleRequestBody(ShowFileRequestHandler.java:122) ... }{code} (from {{/solr/collection1/admin/file?file=schema.notcontentType=text/xml;charset=utf-8}}) it is pretty clear why your screen looks like what it looks *g it's just one big fat text-message, even the latest revision will not be able to display that in a good fashion. the difference seems to be: throwing a new exception (directly) vs. calling a log.xy(), passing a exception as parameter, but can we (and should we?) change this behaviour? Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0 Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.png We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13269912#comment-13269912 ] Ryan McKinley commented on SOLR-3367: - looks good stefan -- i commited this in r1335204, but think we can continue making it better. The biggest thing I notice when using this with my real data/errors is that most severe errors are really big/wide -- this is why i like the colspan version better. Looking at it more, I think it would be even better if we could use the 2nd level tab space (Viewer vs Level) as well. What do you think about putting Level as a sub-menu under Logging in the far left panel? This would give the viewer as much width as possible. Can the 'Level' menu only show up when Logging is selected? similar to the options that show up when you select a core? Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0 Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.png We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13269916#comment-13269916 ] Ryan McKinley commented on SOLR-3367: - looks like we re missing the information-white.png Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0 Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.png We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13270070#comment-13270070 ] Stefan Matheis (steffkes) commented on SOLR-3367: - I added the missing Icon in r1335229 - it's mentioned in the patch, but because it's a binary file, it's not fully included -.- bq. The biggest thing I notice when using this with my real data/errors is that most severe errors are really big/wide Hm, i played a bit around, but i didn't get such a huge stacktrace? Would you mind attaching one (as plain text), that i can check this one? {quote}What do you think about putting Level as a sub-menu under Logging in the far left panel? This would give the viewer as much width as possible. Can the 'Level' menu only show up when Logging is selected? similar to the options that show up when you select a core?{quote} Hm, never thought about that ;o i just continued the Navigation-Logic which we used for f.e the Plugins. Will open a separate Ticket for that and start moving the Sub-Navigation for all global Items out to the left Panel - good idea! Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0 Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.png We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13270080#comment-13270080 ] Ryan McKinley commented on SOLR-3367: - dooh -- attached the screenshot to the wrong issue. This is what I see for errors on a small (ish) screen: !https://issues.apache.org/jira/secure/attachment/12525929/stack.png! Do you need stacktrace for this? just putting in ?test=true should get you one too Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0 Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.png We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13259794#comment-13259794 ] Ryan McKinley commented on SOLR-3367: - better -- some things to consider * i don't think it is necessary to grey out the older events * rather then showing the long date form in Last Check, how about one that matches the format in the Time column * this patch is missing the 'logging.html' file What do you think about adding something like: {code:css} #content #logging #viewer thead th.message { width:100%; } {code} and giving the rest more padding -- this way the layout will stay consistent when you open an exception. To show exceptions... what about adding a whole row with td colspan=4 and letting you click anywhere on the row to show it? Perhaps a right-aligned column/icon to show that it has a trace? Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0 Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13260107#comment-13260107 ] Ryan McKinley commented on SOLR-3367: - The auto-update continues to check even when you are not on the page! Once I navigate away from logging page, I still see requests going to the logging handler! Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0 Attachments: SOLR-3367.patch, SOLR-3367.patch, SOLR-3367.patch We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI
[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13259325#comment-13259325 ] Ryan McKinley commented on SOLR-3367: - Great start! A few comments: * color scale -- I don't follow the color coding scheme. I would expect something where red is severe and blue is just info. something like: http://www.mediacollege.com/lighting/colour/colour-temperature.html * For ordering events -- I like older events on the top and newer ones at the bottom. For Auto Refresh, just keep adding rows at the bottom. I don't think we need a Load new Events button -- just put a spinner at the bottom and refresh every 5/10? seconds. similar to jenkins * rather then ~logging/config maybe ~logging/level since this does not really configure your logging I like it Show Logging Events in Admin UI --- Key: SOLR-3367 URL: https://issues.apache.org/jira/browse/SOLR-3367 Project: Solr Issue Type: New Feature Components: web gui Reporter: Ryan McKinley Assignee: Stefan Matheis (steffkes) Fix For: 4.0 Attachments: SOLR-3367.patch, SOLR-3367.patch We can show logging events in the Admin UI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org