[ 
https://issues.apache.org/jira/browse/SOLR-3972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13536013#comment-13536013
 ] 

Shawn Heisey commented on SOLR-3972:
------------------------------------

I agree with Alexandre.  When I was copying from the example, which included 
copying the included jetty and creating an init script for it, I looked at the 
three extra html files, which ARE included there.

I figured since they were "-extra" they were not necessary.  I did look into 
their actual content and found it useless, so I didn't copy them to my 
installation.  That's when I ran into the stacktrace - the 20 cores I had when 
I first set it up (deriving from my 3.x config) produced *sixty* of these huge 
log entries, even when logging at WARN.  Now I have 16 cores on the server and 
my workaround has eliminated the error.

If a fix for this issue were implemented (using log.warn()) and I deleted the 
empty html files, I would end up with 48 consecutive single log line entries if 
I left logging at WARN.  If the logging were at INFO (which I believe is the 
default), they would probably be scattered throughout the log and not make much 
difference in its size.  That's actually a good argument for making the message 
log at info and not warn.

                
> Missing admin-extra files result in SEVERE log entries with giant stacktrace
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-3972
>                 URL: https://issues.apache.org/jira/browse/SOLR-3972
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>    Affects Versions: 4.0, 4.1
>         Environment: Linux bigindy5 2.6.32-279.9.1.el6.centos.plus.x86_64 #1 
> SMP Wed Sep 26 03:52:55 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
> java version "1.7.0_07"
> Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
> Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
>            Reporter: Shawn Heisey
>             Fix For: 4.1
>
>
> Missing admin-extra files result in SEVERE log entries with giant stacktrace.
> If a log entry is warranted at all, it should just be a one-line warning.

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to