lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4200) Significant log noise at INFO from CachingDirectoryFactory#close
Date Wed, 06 Mar 2013 21:06:14 GMT

     [ https://issues.apache.org/jira/browse/SOLR-4200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hoss Man updated SOLR-4200:
---------------------------

    Attachment: SOLR-4200.patch

updated patch to trunk (looks like some code moved around).

i also swaped which of the two duplicate "Closing directory" was kept/removed (seems more
prudent to keep the log message in the inner private method doing the actual closing since
it is called from multiple places and might be called by others in the future)
                
> Significant log noise at INFO from CachingDirectoryFactory#close
> ----------------------------------------------------------------
>
>                 Key: SOLR-4200
>                 URL: https://issues.apache.org/jira/browse/SOLR-4200
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.1
>         Environment: solr-impl    4.1-SNAPSHOT 1421496 - ncindex - 2012-12-13 14:56:25
>            Reporter: Shawn Heisey
>             Fix For: 4.2, 5.0
>
>         Attachments: SOLR-4200.patch, SOLR-4200.patch
>
>
> The following line in CachingDirectoryFactory is resulting in a lot of noise in my branch_4x
logs.  It was added by Yonik's recent major sync from trunk to branch_4x, r1420992.
> log.info("Releasing directory:" + cacheValue.path);
> This was probably added to debug a problem, but it seems to get called a lot.  The specific
thing that led me to bring it up is that it is logged four times for every call to /admin/mbeans.
 When you've got seven cores and you hit them all, it increases the logging from 7 lines to
35.  IMHO, it should be moved to debug instead of info.
> INFO  - 2012-12-15 13:36:01.674; org.apache.solr.core.CachingDirectoryFactory; Releasing
directory:/index/solr4/cores/s0_0/../../data/s0_0
> INFO  - 2012-12-15 13:36:01.676; org.apache.solr.core.CachingDirectoryFactory; Releasing
directory:/index/solr4/cores/s0_0/../../data/s0_0/index
> INFO  - 2012-12-15 13:36:01.676; org.apache.solr.core.CachingDirectoryFactory; Releasing
directory:/index/solr4/cores/s0_0/../../data/s0_0
> INFO  - 2012-12-15 13:36:01.678; org.apache.solr.core.CachingDirectoryFactory; Releasing
directory:/index/solr4/cores/s0_0/../../data/s0_0/index
> INFO  - 2012-12-15 13:36:01.679; org.apache.solr.core.SolrCore; [s0build] webapp=/solr
path=/admin/mbeans params={qt.path=/admin/mbeans&wt=javabin&stats=true&version=2}
status=0 QTime=6

--
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


Mime
View raw message