From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2762 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Raghu Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: svlogd log rotation Date: Fri, 13 Dec 2019 10:05:45 -0500 Message-ID: References: <4db43fdb-4b78-86b8-eeaa-af22397bd81e@uni-bremen.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e99371059997325a" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="81187"; mail-complaints-to="usenet@blaine.gmane.org" Cc: supervision@list.skarnet.org To: Martin Castillo Original-X-From: supervision-return-2351-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Dec 13 16:06:02 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1ifmW1-000Kwc-Ee for gcsg-supervision@m.gmane.org; Fri, 13 Dec 2019 16:06:01 +0100 Original-Received: (qmail 29335 invoked by uid 89); 13 Dec 2019 15:06:25 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Original-Received: (qmail 29328 invoked from network); 13 Dec 2019 15:06:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oSRncf7KG25cDWZDorgXwn7pqOE6pYVS6grv5wtAQlc=; b=bmLx7XsmjTLdIVLKflZklUgrOMjvmMhAbGJXsk1a+HHWe5rPbrMq4Pz423Xqslq60P 4IJ8QWx97QUQ0wxy0Ix9SY+9RZrjQQajBxbHyTRbAs0d0EfeMy3o0NgkqMkE2k7aARnK 8UwH9Jef5jOyLfMScPcs7+5fK0oJbW7qf5cRNfKOIqwTXwGGCSwIF8t4esysF2TArHVn 2rdqb5Jul7Z8I1g9CHcFbDSv9FXr7/gNOmsRw2GlQnhhNi46SnHznZigM17PB8iC+8Lr wMT+goZR17Tqgyf83Ne+PFdNWn15FjuoZ9KiR3cI/TDgn/MRNSkfwjNSFY9KmHy9H8wG DuBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oSRncf7KG25cDWZDorgXwn7pqOE6pYVS6grv5wtAQlc=; b=acObvlrQDoQf46eYpx4JHCATo6LJiR7GqmXVXp8ODEwxDdLzUH9otQwGcfK6aeoUTf 2HkzhR3oecT4QDmfqpXLsLfxjhUKAbjj0hdaJ3/dN6A9ocmjqRP77FBzxG2NjYjDNOwU yC580lDUh1xeYH1fYKn2Qr6qy5YKbLtdoYmFdEI8FYrpkqjsj6iLJ52yMk+gZpiA57ES dcF19ls1Exr/4pwBSvUTlejaReZvYuhCEv7YlU5leSD8Ku3cZHmpoovM2JufAt9X8VsM WQOFv3yk132zSF1w7NgQm87GYJ1Xfa3jMcTKDReCpurNnGP85ob+n5kFxgsLpssSYuWI BcPA== X-Gm-Message-State: APjAAAWVnswYofzNtVOItv/gls+zyWc4Mr13hVAVzMXpHdcWjxx7OXyJ JA7IRK7Z5I2wI4olg5UensrZDRISlHDBWRzSXbo= X-Google-Smtp-Source: APXvYqwhnCIYbY83uR+AQ+cZ91kK7AVQuzMDK90J29iYyJQJJ3cNPSDiT30XyP7RJ9wlAr4Ku9xd82m+iuLZBnqsgAk= X-Received: by 2002:a1f:e784:: with SMTP id e126mr14291053vkh.102.1576249556831; Fri, 13 Dec 2019 07:05:56 -0800 (PST) In-Reply-To: <4db43fdb-4b78-86b8-eeaa-af22397bd81e@uni-bremen.de> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2762 Archived-At: --000000000000e99371059997325a Content-Type: text/plain; charset="UTF-8" Sorry, please ignore. On Thu, Dec 12, 2019 at 4:15 PM Martin Castillo wrote: > Hi, > > On 12.12.19 15:25, Raghu wrote: > > I have redirected the svlogd log file my custom name instead of current > in > > my run script as below. > > touch /testlogs/logs/Y5Consolelog.txt.0 > > exec svlogd -tt /testlogs/logs/ Y5Consolelog.txt.0 > > I have never heard of this feature and couldn't find anything on the > manpage. Running these 2 commands gets me > $ svlogd -tt "$(realpath log)"/ mylog.0 > svlogd: warning: unable to open log directory: mylog.0: file does not exist > > and the current file is still called 'current'. > I have artix' linux runit 2.1.2-15 and svlogd version > 5e55a90e0a1b35ec47fed3021453c50675ea1117. > > What version are you running? > > Marti > > > > And my config file as below: > > s10000 > > n2 > > > > I do see the log file getting updated but it not getting rotated when the > > size limit is reached. I don't see the old log file with timestamp > appended > > to it after rotation which would actually happen to a current file. > > > > Can you please let me know if I'm missing anything? > > Thank you. > > > > -- > GPG: 7FDE 7190 2F73 2C50 236E 403D CC13 48F1 E644 08EC > -- Thanks Raghu SAVE TREES..GO GREEN --000000000000e99371059997325a--