You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Eric Pugh (Jira)" <ji...@apache.org> on 2024/10/29 16:57:00 UTC

[jira] [Commented] (SOLR-12989) facilitate -Dsolr.log.muteconsole opt-out

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

Eric Pugh commented on SOLR-12989:
----------------------------------

is this still something we want to push forward with?  Lots of fixes to the start scripts ;)

> facilitate -Dsolr.log.muteconsole opt-out
> -----------------------------------------
>
>                 Key: SOLR-12989
>                 URL: https://issues.apache.org/jira/browse/SOLR-12989
>             Project: Solr
>          Issue Type: Improvement
>          Components: logging, scripts and tools
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-12989.patch, SOLR-12989.patch
>
>
> Having made a small log4j2.xml edit
> {code}
>  <Root level="info">
>    <AppenderRef ref="RollingFile"/>
> -  <AppenderRef ref="STDOUT"/>
> +  <AppenderRef ref="STDOUT" level="error"/>
>  </Root>
> {code}
> I was surprised to find the errors logged in the {{solr.log}} file but not in the {{solr-*-console.log}} file.
> https://lucene.apache.org/solr/guide/7_5/configuring-logging.html#permanent-logging-settings very helpfully mentioned how the console logger is disabled when running in the background.
> This ticket proposes to facilitate opting out of the muting via a {{SOLR_LOG_MUTECONSOLE_OPT}} option.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org