Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Jun 18, 2012, 1:58 PM

Post #1 of 5 (64 views)
Permalink
[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-tabpanel&focusedCommentId=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-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


jira at apache

Jun 18, 2012, 2:25 PM

Post #2 of 5 (62 views)
Permalink
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI [In reply to]

[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


jira at apache

Jun 19, 2012, 11:43 AM

Post #3 of 5 (59 views)
Permalink
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI [In reply to]

[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


jira at apache

Jun 19, 2012, 1:20 PM

Post #4 of 5 (60 views)
Permalink
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI [In reply to]

[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


jira at apache

Jun 20, 2012, 11:50 AM

Post #5 of 5 (58 views)
Permalink
[jira] [Commented] (SOLR-3367) Show Logging Events in Admin UI [In reply to]

[ https://issues.apache.org/jira/browse/SOLR-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.