From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 01:11:12 2003 Return-Path: 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 2F87A37B401 for ; Thu, 3 Jul 2003 01:11:11 -0700 (PDT) Received: from hypernet.hyper.net (hypernet.hyper.net [193.218.1.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25F4444001 for ; Thu, 3 Jul 2003 01:11:00 -0700 (PDT) (envelope-from dxoch@escape.gr) Received: from escape.gr (bus.hyper.gr [193.218.2.30])h637UA828422; Thu, 3 Jul 2003 10:30:12 +0300 Date: Thu, 3 Jul 2003 11:10:51 +0300 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Matthew Seaman From: Jim Xochellis In-Reply-To: <20030702160429.GA18780@happy-idiot-talk.infracaninophile.co.uk> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: freebsd-questions@freebsd.org Subject: Re: About newsyslog behavior X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 08:11:12 -0000 Hi Matthew, hi list, On Wednesday, July 2, 2003, at 07:04 PM, Matthew Seaman wrote: [...] > > samba can also generate a lot of log files depending on > configuration. However, it also can be configured to put out all > of it's logging information via syslog(3). Samba is also capable > of recycling it's own log files. See the 'max log size' entry in > smb.conf: > > http://samba.mirror.ac.uk/samba/docs/man/smb.conf.5.html#MAXLOGSIZE > A Very useful peace of information! Thanks, I haven't noticed that. > >> I am thinking about changing the newsyslog instead (adding an option) >> but I am such a newbie in Unix, makefiles and all this stuff (except >> c) > > Go for it. The ideal would probably be to add another flag to the > 'flags' column to go with the BCGJNUWZ- flags it already understands, > so that you can apply the 'file descriptor friendly' method of Thats exactly what I had in my mind. > updating on a per-file basis. Unless you're going to be adding whole > new files to the newsyslog sources, then you shouldn't need to modify > any Makefiles at all. > It seems I am lucky :-) Best Regards, Jim Xochellis