From owner-freebsd-questions@FreeBSD.ORG Thu Oct 19 20:20:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3797616A47C for ; Thu, 19 Oct 2006 20:20:18 +0000 (UTC) (envelope-from zbyszek@szalbot.homedns.org) Received: from lists.lc-words.com (lists.lc-words.com [83.19.156.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AEF843D49 for ; Thu, 19 Oct 2006 20:20:16 +0000 (GMT) (envelope-from zbyszek@szalbot.homedns.org) Received: from [127.0.0.1] (helo=localhost) by lists.lc-words.com with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GaeNB-0000D7-IN; Thu, 19 Oct 2006 22:20:13 +0200 Date: Thu, 19 Oct 2006 22:20:13 +0200 (CEST) From: Zbigniew Szalbot X-X-Sender: zbyszek@192.168.11.51 To: Eric In-Reply-To: <4537BFC9.4000909@mikestammer.com> Message-ID: <20061019221530.N794@192.168.11.51> References: <20061019195557.M97577@192.168.11.51> <4537BFC9.4000909@mikestammer.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: having more than one process write to one log X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2006 20:20:18 -0000 Hi there, On Thu, 19 Oct 2006, Eric wrote: >> I will appreciate your advice. Is it possible and *safe* to allow two >> different processes (dovecot and exim) to write to one log? Better not do >> it? I would like to have both data in one log but... don't want to cause >> problems. I don't think Windows would allow it. How about FBSD? > > isnt that the default? right now i see postfix, dovecot, amavisd, etc all log > to /var/log/maillog With the exception that my exim writes to /var/log/exim/mainlog which I am ok with, logs are rotated, etc. My question was whether it is ok for dovecot to join the party. Still new to FBSD and that's why I am not sure if the way I would like to set it up is OK. If it is not, then I have no problem keeping logs separate. I could direct exim's logging to /var/log/maillog (this I can do :) but then I wonder if I didn't have to edit the global crontab to take care of logs being rotated, etc.? Thanks to all who have responded! -- Zbigniew Szalbot