lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: [jira] [Commented] (SOLR-3706) Ship setup to log with log4j.
Date Thu, 28 Mar 2013 17:08:20 GMT
Additional data point. I was failing almost every time (mac) with very
strange 404 errors and messages like "could not find /solr/update" in
the embedded tests last night and in seemingly random other places but
I was rarely getting through any full test suite OK.  But running the
tests explicitly (-Dtestcase=) worked like a champ.

Three times running just now and no problem. Will keep running.

FWIW

On Thu, Mar 28, 2013 at 1:01 PM, Mark Miller (JIRA) <jira@apache.org> wrote:
>
>     [ https://issues.apache.org/jira/browse/SOLR-3706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616422#comment-13616422
]
>
> Mark Miller commented on SOLR-3706:
> -----------------------------------
>
> Hmm...things are at least...better...passing all but that one random time so far...weird...
>
>> Ship setup to log with log4j.
>> -----------------------------
>>
>>                 Key: SOLR-3706
>>                 URL: https://issues.apache.org/jira/browse/SOLR-3706
>>             Project: Solr
>>          Issue Type: Improvement
>>            Reporter: Mark Miller
>>            Assignee: Mark Miller
>>            Priority: Minor
>>             Fix For: 4.3, 5.0
>>
>>         Attachments: SOLR-3706-maven.patch, SOLR-3706-maven.patch, SOLR-3706.patch,
SOLR-3706-solr-log4j.patch, SOLR-3706-solr-log4j.patch
>>
>>
>> Currently we default to java util logging and it's terrible in my opinion.
>> *It's simple built in logger is a 2 line logger.
>> *You have to jump through hoops to use your own custom formatter with jetty - either
putting your class in the start.jar or other pain in the butt solutions.
>> *It can't roll files by date out of the box.
>> I'm sure there are more issues, but those are the ones annoying me now. We should
switch to log4j - it's much nicer and it's easy to get a nice single line format and roll
by date, etc.
>> If someone wants to use JUL they still can - but at least users could start with
something decent.
>
> --
> 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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message