lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-9570) Logs backed up on restart are kept forever
Date Thu, 20 Oct 2016 19:05:58 GMT

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

ASF subversion and git services commented on SOLR-9570:
-------------------------------------------------------

Commit 1b626fa0ca0152a024cd68fbf17e042469e6e3a2 in lucene-solr's branch refs/heads/branch_6x
from [~janhoy]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1b626fa ]

SOLR-9570: Fix test failures and start using SolrTestCaseJ4's createTempDir mm

(cherry picked from commit af88e7f)


> Logs backed up on restart are kept forever
> ------------------------------------------
>
>                 Key: SOLR-9570
>                 URL: https://issues.apache.org/jira/browse/SOLR-9570
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: scripts and tools
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: logging
>             Fix For: 6.3, master (7.0)
>
>         Attachments: SOLR-8370.patch
>
>
> When (re)starting Solr, the start script will backup any existing {{solr.log}} or {{solr_gc.log}}
to a file {{solr_log_<date>}} and {{solr_gc_log_<date>}} respectively. That may
be all good, but these old copies are never cleaned up, as they are not under the control
of log4j.
> This issue will instead rotate solr.log properly on startup, delete old time-stamped
files taking up place, back up (one generation only) of console-log and solr_gc.log in $SOLR_LOGS_DIR/archived/.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message