FreeBSD 8.1 and HAST

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Jun 13 07:50:30 UTC 2010


On Sat, Jun 12, 2010 at 05:36:35PM -0700, Jeremy Chadwick wrote:
> On Sun, Jun 13, 2010 at 09:07:57AM +0900, hiroshi at soupacific.com wrote:
> > > It would be good to have all.log enabled in newsyslog.conf and provide the
> > > output from there so all lines are in one log and it is clear which message
> > > appeared earlier. Also the logs from the primary could be useful too.
> > 
> > Could you tell me how to modify newsyslog.conf to one log file ?
> 
> He meant syslog.conf.  The procedure:
> 
> - Edit /etc/syslog.conf and uncomment the line that looks like this:
> 
> #*.*						/var/log/all.log
> 
> - touch /var/log/all.log
> - chmod 600 /var/log/all.log
> - chown root:wheel /var/log/all.log
> - /etc/rc.d/syslogd reload
> 
> 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).

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100613/29717bf0/attachment.pgp


More information about the freebsd-fs mailing list