Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A794A200B68 for ; Fri, 19 Aug 2016 09:47:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A60BE160AAC; Fri, 19 Aug 2016 07:47:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EF0B6160A8E for ; Fri, 19 Aug 2016 09:47:28 +0200 (CEST) Received: (qmail 80566 invoked by uid 500); 19 Aug 2016 07:47:27 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 80550 invoked by uid 99); 19 Aug 2016 07:47:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2016 07:47:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A2579C2735 for ; Fri, 19 Aug 2016 07:47:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id nfNSJ_nZRFou for ; Fri, 19 Aug 2016 07:47:26 +0000 (UTC) Received: from mail-it0-f46.google.com (mail-it0-f46.google.com [209.85.214.46]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 5E12C5FACB for ; Fri, 19 Aug 2016 07:47:25 +0000 (UTC) Received: by mail-it0-f46.google.com with SMTP id n128so18391582ith.1 for ; Fri, 19 Aug 2016 00:47:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=F00j8ozRVX3tz7Q2EngntMXFL17eZAoNGRmbqChWzjU=; b=hgwqRYZZSvyS6qepang1ADLhMRh1sOryytPb1J7m8E+i2nYqbmAK4Cxu6tnjrES3EW imSSFqXteitkWPF+Gnz2jdoiwEJRvUDl2yB6N8LAK1lJ2t1XdWcn1pxud8cO82PO1dvW 3xoVYJ6X4Vg2rcZWS94u7MS/sP4jXe19tQOR3uSg0jwXuAc7d4OFI4NQPrUVtRTfW9jK NX4SSFHaMRoU+P1O51kHMXF3og9CDH2vbarwF6jrG6sMqZhtL9gkXfNF/aXIqHJXGUoK dj2tqL/TXS00wRwjNJtjfvKra64ait4LLm8FsSYzJU36rfxBa2/hs3DnSh4w+npAlnAG jvQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=F00j8ozRVX3tz7Q2EngntMXFL17eZAoNGRmbqChWzjU=; b=UY08wGhJUsbLP8T1CiOlYPxNrwi2WGVzvXCvLgRXLvGyMVFL84a80i+YVcW/CyBpEE cVYdJLcLqANS1iJSsOpNxD7nwIlFHQciKrzIOW20rP74Nbj5lpb4WfSHlPYgppl90Lei J+5/613G3Es6o93fiQ0myYytAyzmy/XSPbarGHftLO7n1+uIuaXwYvi2cq/YIqTEK7kr WupKvrO4DQUg6MhtE48LNCRS6sPAkb0wJBmQq9RLjtaczSK7/7DRQbRPaCaj06Ihdrf+ WnPedFiLd5pGcY6V+gw4pqBe8Baac4/DQS5InHevvM/eoDHLCKGrxUYqsmGjbD2JQuyI LPkQ== X-Gm-Message-State: AEkoouvKBh15dtqJ8HxBMKoRO3lxXq7nZbU2WhxQmdIC5SbUlpLgin2sO7i4b5JtLVfXGPcPGaFyQvamfVF90Q== X-Received: by 10.36.196.133 with SMTP id v127mr4565849itf.84.1471592844243; Fri, 19 Aug 2016 00:47:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.12.4 with HTTP; Fri, 19 Aug 2016 00:47:23 -0700 (PDT) From: Zheng Lin Edwin Yeo Date: Fri, 19 Aug 2016 15:47:23 +0800 Message-ID: Subject: Append to new solr.log file daily To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=94eb2c05b8b4bc69ca053a67e816 archived-at: Fri, 19 Aug 2016 07:47:29 -0000 --94eb2c05b8b4bc69ca053a67e816 Content-Type: text/plain; charset=UTF-8 Hi, I found that all the logs in Solr are appended in the same solr.log file until Solr is restarted. If I keep Solr running for several weeks without restarting (which should be the case in production environment), the size of the solr.log can be very large (more than several GB in some cases). Is it possible to do some configuration, so that the log is append to a new solr.log file every day, instead of until Solr is restarted? This will make reviewing of the logs much easier. I'm using Solr 6.1.0 Regards, Edwin --94eb2c05b8b4bc69ca053a67e816--