From owner-freebsd-fs@FreeBSD.ORG Sun Jun 13 07:50:30 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A01E1065670 for ; Sun, 13 Jun 2010 07:50:30 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id D2E368FC14 for ; Sun, 13 Jun 2010 07:50:29 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 8009745CA6; Sun, 13 Jun 2010 09:50:27 +0200 (CEST) Received: from localhost (gate.wheel.pl [10.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 3B421456B1; Sun, 13 Jun 2010 09:50:21 +0200 (CEST) Date: Sun, 13 Jun 2010 09:50:11 +0200 From: Pawel Jakub Dawidek To: Jeremy Chadwick Message-ID: <20100613074921.GB1320@garage.freebsd.pl> References: <20100423061521.GC1670@garage.freebsd.pl> <4BD17B0D.5080601@soupacific.com> <4C10B526.4040908@soupacific.com> <20100612104336.GA2253@garage.freebsd.pl> <4C1372E0.1000903@soupacific.com> <20100612142311.GF2253@garage.freebsd.pl> <4C139F9C.2090305@soupacific.com> <86iq5oc82y.fsf@kopusha.home.net> <4C14215D.9090304@soupacific.com> <20100613003635.GA60012@icarus.home.lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XMCwj5IQnwKtuyBG" Content-Disposition: inline In-Reply-To: <20100613003635.GA60012@icarus.home.lan> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: FreeBSD 8.1 and HAST X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jun 2010 07:50:30 -0000 --XMCwj5IQnwKtuyBG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 12, 2010 at 05:36:35PM -0700, Jeremy Chadwick wrote: > On Sun, Jun 13, 2010 at 09:07:57AM +0900, hiroshi@soupacific.com wrote: > > > It would be good to have all.log enabled in newsyslog.conf and provid= e the > > > output from there so all lines are in one log and it is clear which m= essage > > > appeared earlier. Also the logs from the primary could be useful too. > >=20 > > Could you tell me how to modify newsyslog.conf to one log file ? >=20 > He meant syslog.conf. The procedure: >=20 > - Edit /etc/syslog.conf and uncomment the line that looks like this: >=20 > #*.* /var/log/all.log >=20 > - touch /var/log/all.log > - chmod 600 /var/log/all.log > - chown root:wheel /var/log/all.log > - /etc/rc.d/syslogd reload >=20 > Going forward you should have a file called /var/log/all.log that > contains literally all syslog data. newsyslog is already set up on > FreeBSD to automatically rotate this log file at midnight every day, > so there's no need to mess with that piece. Alternatively you could start hastd in foreground (-F option). --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --XMCwj5IQnwKtuyBG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwUjbIACgkQForvXbEpPzQ/vwCdEhAPI4HGE6ecLYCtseQiR44/ xaIAnjLzKLP+r5lC23ggkf0jRUc2Xc6H =01VN -----END PGP SIGNATURE----- --XMCwj5IQnwKtuyBG--