From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1360 invoked from network); 20 Jan 2021 08:21:36 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 20 Jan 2021 08:21:36 -0000 Received: (qmail 29979 invoked by uid 89); 20 Jan 2021 08:22:01 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 29972 invoked from network); 20 Jan 2021 08:22:00 -0000 Subject: Re: What extra logging utilities are needed with s6? To: supervision@list.skarnet.org References: <20210120065638.embzr5fusyn6xzwl@frisbee> From: Crest Message-ID: Date: Wed, 20 Jan 2021 09:21:29 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <20210120065638.embzr5fusyn6xzwl@frisbee> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US On 20.01.21 07:56, Kian Kasad wrote: > Hi all, > > I apologize if this is a "dumb" or seemingly obvious question. Logging > and monitoring are definitely my weak points when it comes to > Linux/UNIX. > > In terms of logging, what exactly does s6 handle and what do I need to > handle using external programs? > I know s6 (at least how Artix Linux has it set up) will create a > directory under /var/log for each service that emits log output. Because > of this, do I need a syslog daemon like syslog-ng? If all your services support logging to stdout/stderr you can get away without a syslog service. Instead of a single logging service consuming logs from all other services s6 is designed to connect each long running service with its own tiny dedicated logging service. > And do I need a logrotate program or does s6 handle that? You don't need and external log rotation program. The s6-log utility includes support for log rotation and post processing and log rotation is enabled by default.